1 |
|
2 | import { CancellationToken } from '../../shared/vscode-languageserver-protocol';
|
3 | import { ProgressClient, ProgressMessage, ProgressUpdate } from '../common';
|
4 | import { StatusBar } from './status-bar';
|
5 | export declare class ProgressStatusBarItem implements ProgressClient {
|
6 | protected readonly id = "theia-progress-status-bar-item";
|
7 | protected readonly statusBar: StatusBar;
|
8 | protected messagesByProgress: Map<string, string | undefined>;
|
9 | protected incomingQueue: string[];
|
10 | get currentProgress(): string | undefined;
|
11 | showProgress(progressId: string, message: ProgressMessage, cancellationToken: CancellationToken): Promise<string | undefined>;
|
12 | protected processEvent(progressId: string, event: 'start' | 'done', message?: string): void;
|
13 | protected readonly triggerUpdate: import("lodash").DebouncedFunc<() => void>;
|
14 | reportProgress(progressId: string, update: ProgressUpdate, originalMessage: ProgressMessage, _cancellationToken: CancellationToken): Promise<void>;
|
15 | protected update(progressId: string | undefined): void;
|
16 | }
|
17 |
|
\ | No newline at end of file |