UNPKG

736 BTypeScriptView Raw
1import { Progress, ProgressMessage } from './message-service-protocol';
2import { ProgressClient } from './progress-service-protocol';
3import { MessageService } from './message-service';
4export declare class ProgressService {
5 protected readonly client: ProgressClient;
6 protected readonly messageService: MessageService;
7 showProgress(message: ProgressMessage, onDidCancel?: () => void): Promise<Progress>;
8 protected shouldDelegate(message: ProgressMessage): boolean;
9 private progressIdPrefix;
10 private counter;
11 protected newProgressId(): string;
12 withProgress<T>(text: string, locationId: string, task: () => Promise<T>, onDidCancel?: () => void): Promise<T>;
13}
14//# sourceMappingURL=progress-service.d.ts.map
\No newline at end of file