Readonly
disposedWhether this scope has been disposed (canceled).
Optional
Readonly
parentOptional parent scope.
Readonly
signalThe cancellation signal to pass along to operations.
Create a child scope that will be canceled when this scope is.
Optional
opts: { label?: string }Optional
label?: stringOptional identifier for diagnostics.
Dispose this scope and all children.
Optional
reason: DisposeReasonOptional reason for disposal.
Like fetch
, but automatically merges this scope’s signal with user-supplied ones.
Request input.
Optional
init: RequestInitOptional fetch init opts.
Register a callback to run when the scope is disposed.
Returns a signal that aborts after the given timeout or when the scope aborts.
Timeout duration in milliseconds.
Optional
reason: stringOptional reason for the timeout.
A hierarchical cancellation scope.
Remarks