Skip to content

WorkerCancelMessage

A cancellation of a call from the main thread.

Import:

import type { WorkerCancelMessage } from '@mnaoumov/obsidian-lib/worker-protocol';

Signature:

export interface WorkerCancelMessage

Properties

PropertyTypeDescription
idnumberThe id of the call to cancel.
kind'cancel'The message kind.
protocoltypeof WORKER_PROTOCOLThe protocol tag.

Links to this page: