@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Function createMockCancellationToken

    • Creates a static cancellation-token shape. It does not transition or fire an event after construction; use a capability fake or a dedicated token source when code must react to cancellation over time.

      Parameters

      Returns {
          isCancellationRequested: boolean;
          onCancellationRequested: MockFn<
              [],
              { dispose: MockFn<unknown[], unknown> },
          >;
      }