Skip to content

Type alias: MessageData

Ƭ MessageData: Object

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

Type declaration

Name Type
data? Serialized
error? Serialized | null
id string
mustQueue? boolean
origin string
sourceMapId string | number | null
targetMapId? string | number | null
type MessageType | "<cancel>" | "<response>"

Defined in