CancelableSource Interface

    Package: @esfx/cancelable

    Represents an object that is a source for cancelation.

    Declaration
    export interface CancelableSource extends Cancelable 
    Inheritance
    Cancelable
    CancelableSource
    Inherited Members
    [Cancelable.cancelSignal]()

    Methods

    [CancelableSource.cancel](reason)

    Cancels the source, notifying the associated CancelSignal.

    Declaration
    [CancelableSource.cancel](reason?: unknown): void;
    Parameters
    reason
    unknown

    Returns
    void

    Generated by DocFX