CancelableSource Interface
Package: @esfx/cancelable
Represents an object that is a source for cancelation.
Declaration
export interface CancelableSource extends Cancelable
Inherited Members
Methods
[CancelableSource.cancel](reason)
Cancels the source, notifying the associated CancelSignal.
Declaration
[CancelableSource.cancel](reason?: unknown): void;
Parameters
- reason
- unknown
Returns
void