WorkerCallMessage
A call from the main thread.
Import:
import type { WorkerCallMessage } from '@mnaoumov/obsidian-lib/worker-protocol';Signature:
export interface WorkerCallMessageProperties
| Property | Type | Description |
|---|---|---|
| arguments | readonly unknown[] | The method's arguments. |
| id | number | The call id, unique per WorkerComponent. |
| kind | 'call' | The message kind. |
| method | string | The method name. |
| protocol | typeof WORKER_PROTOCOL | The protocol tag. |
Links to this page: