Skip to content

MessageData

MessageData: object

This is used to define the parameters of the message that is sent to the worker and back

Type declaration

data?

optional data: Serialized

error?

optional error: Serialized | null

id

id: string

mustQueue?

optional mustQueue: boolean

origin

origin: string

sourceMapId

sourceMapId: string | number | null

targetMapId?

optional targetMapId: string | number | null

type

type: MessageType | "<cancel>" | "<response>"

Defined in

src/util/actor.ts:23