Interface CancellationToken

Hierarchy

  • CancellationToken

Properties

isCancellationRequested: boolean

Is true when the token has been cancelled, false otherwise.

Methods

  • An Event which fires upon cancellation.

    Parameters

    • listener: ((e) => any)
        • (e): any
        • Parameters

          • e: any

          Returns any

    • Optional thisArgs: any
    • Rest ..._: any[]

    Returns {
        dispose() => any;
    }