For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias MessageData

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

type MessageData = {
    data?: Serialized;
    error?: Serialized | null;
    id: string;
    mustQueue?: boolean;
    origin: string;
    sourceMapId: string | number | null;
    targetMapId?: string | number | null;
    type: MessageType | "<cancel>" | "<response>";
}
Index

Properties

data?: Serialized
error?: Serialized | null
id: string
mustQueue?: boolean
origin: string
sourceMapId: string | number | null
targetMapId?: string | number | null
type: MessageType | "<cancel>" | "<response>"
Was this helpful?