WorkerResultMessage
A successful call, answered by the worker.
Import:
import type { WorkerResultMessage } from '@mnaoumov/obsidian-lib/worker-protocol';Signature:
export interface WorkerResultMessageProperties
| Property | Type | Description |
|---|---|---|
| id | number | The id of the call. |
| kind | 'result' | The message kind. |
| protocol | typeof WORKER_PROTOCOL | The protocol tag. |
| value | unknown | The result. |
Links to this page: