Skip to content

Type Alias: CoroutineMessage

CoroutineMessage = object

Defined in: operators/coroutine.ts:12

Properties

workerId

workerId: number

Defined in: operators/coroutine.ts:13

The unique ID of the worker.


taskId

taskId: string

Defined in: operators/coroutine.ts:14

The unique ID of the task.


type

type: string

Defined in: operators/coroutine.ts:15

The type of message (e.g., 'task', 'response', 'error').


payload?

optional payload: any

Defined in: operators/coroutine.ts:16

The optional message payload.


error?

optional error: string

Defined in: operators/coroutine.ts:17

The optional error message.

Released under the MIT License.