Interface WillExecuteCommandEvent

interface WillExecuteCommandEvent {
    args: any[];
    commandId: string;
    token: CancellationToken;
    waitUntil(thenable): void;
}

Hierarchy (view full)

Properties

Methods

Properties

args: any[]
commandId: string

A cancellation token.

Methods

  • Allows to pause the event loop until the provided thenable resolved.

    Note: It can only be called during event dispatch and not in an asynchronous manner

    Parameters

    • thenable: Promise<any>

      A thenable that delays execution.

    Returns void