Skip to content

WorkerComponentCallOptions.abortSignal?

WorkerComponentCallOptions › abortSignal?

Type: AbortSignal

Cancels the call. The returned promise rejects with the signal's reason at once, and the worker's handler sees its own this.abortSignal aborted; whatever it answers afterwards is dropped.