ICancelable
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Interface that implements aborting of requests
export interface ICancelable<T>
Methods
Method | Description |
|---|---|
(BETA) |
Method details
ICancelable.withSignal()methodBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
withSignal(signal: AbortSignal | undefined): T;
Parameters
Parameter | Type | Description |
|---|---|---|
signal | AbortSignal | undefined | Abort signal used for canceling requests |
Returns
T
Instance of object with interface