UNPKG

694 BTypeScriptView Raw
1import { ProgressUpdate, ProgressMessage } from './message-service-protocol';
2import { CancellationToken } from './cancellation';
3export declare const ProgressClient: unique symbol;
4export interface ProgressClient {
5 /**
6 * Show a progress message with possible actions to user.
7 */
8 showProgress(progressId: string, message: ProgressMessage, cancellationToken: CancellationToken): Promise<string | undefined>;
9 /**
10 * Update a previously created progress message.
11 */
12 reportProgress(progressId: string, update: ProgressUpdate, message: ProgressMessage, cancellationToken: CancellationToken): Promise<void>;
13}
14//# sourceMappingURL=progress-service-protocol.d.ts.map
\No newline at end of file