Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NotificationExtImpl

Implements

Index

Constructors

Properties

mapProgressIdToCancellationSource: Map<string, CancellationTokenSource> = ...

Methods

  • $acceptProgressCanceled(id: string): void
  • mapLocation(location: ProgressLocation | { viewId: string }): undefined | string
  • withProgress<R>(options: ProgressOptions, task: ((progress: Progress<{ increment?: number; message?: string }>, token: CancellationToken) => PromiseLike<R>)): Promise<R>
  • Type Parameters

    • R

    Parameters

    • options: ProgressOptions
    • task: ((progress: Progress<{ increment?: number; message?: string }>, token: CancellationToken) => PromiseLike<R>)
        • (progress: Progress<{ increment?: number; message?: string }>, token: CancellationToken): PromiseLike<R>
        • Parameters

          • progress: Progress<{ increment?: number; message?: string }>
          • token: CancellationToken

          Returns PromiseLike<R>

    Returns Promise<R>