Theia API Documentation v1.77.0
    Preparing search index...

    Interface CancellationToken

    A cancellation token used to request cancellation on long running or asynchronous task.

    interface CancellationToken {
        isCancellationRequested: boolean;
        onCancellationRequested: Event<any>;
    }
    Index
    isCancellationRequested: boolean
    onCancellationRequested: Event<any>

    An event emitted when cancellation is requested