WorkerCancelMessage
A cancellation of a call from the main thread.
Import:
import type { WorkerCancelMessage } from '@mnaoumov/obsidian-lib/worker-protocol';Signature:
export interface WorkerCancelMessageProperties
| Property | Type | Description |
|---|---|---|
| id | number | The id of the call to cancel. |
| kind | 'cancel' | The message kind. |
| protocol | typeof WORKER_PROTOCOL | The protocol tag. |
Links to this page: