Thrown when a worker call is aborted via the caller-supplied
AbortSignal — either because the signal was already aborted when
runWithTimeout was called or because it fired before the worker
task settled.
IMPORTANT: aborting does NOT actually cancel work running inside
the WASM kernel (WebAssembly has no cancellation primitive). The
abort only:
(a) Rejects the promise immediately so the caller stops awaiting.
(b) Skips dispatch entirely if the signal was already aborted on entry.
The worker continues processing the now-orphan task to completion;
its result is discarded. This is the same trade-off as fetch
AbortSignal: the request may keep flying on the wire, but the
caller has moved on.
Thrown when a worker call is aborted via the caller-supplied AbortSignal — either because the signal was already aborted when
runWithTimeoutwas called or because it fired before the worker task settled.IMPORTANT: aborting does NOT actually cancel work running inside the WASM kernel (WebAssembly has no cancellation primitive). The abort only: (a) Rejects the promise immediately so the caller stops awaiting. (b) Skips dispatch entirely if the signal was already aborted on entry.
The worker continues processing the now-orphan task to completion; its result is discarded. This is the same trade-off as
fetchAbortSignal: the request may keep flying on the wire, but the caller has moved on.