Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgressService

Hierarchy

  • ProgressService

Index

Constructors

Properties

counter: number = 0
messageService: MessageService
progressIdPrefix: string = ...

Methods

  • newProgressId(): string
  • withProgress<T>(text: string, locationId: string, task: (() => Promise<T>), onDidCancel?: (() => void)): Promise<T>
  • Type Parameters

    • T

    Parameters

    • text: string
    • locationId: string
    • task: (() => Promise<T>)
        • (): Promise<T>
        • Returns Promise<T>

    • Optional onDidCancel: (() => void)
        • (): void
        • Returns void

    Returns Promise<T>