UNPKG

@theia/core

Version:

Theia is a cloud & desktop IDE framework implemented in TypeScript.

14 lines • 745 B
import { Progress, ProgressMessage } from './message-service-protocol.js'; import { ProgressClient } from './progress-service-protocol.js'; import { MessageService } from './message-service.js'; export declare class ProgressService { protected readonly client: ProgressClient; protected readonly messageService: MessageService; showProgress(message: ProgressMessage, onDidCancel?: () => void): Promise<Progress>; protected shouldDelegate(message: ProgressMessage): boolean; private progressIdPrefix; private counter; protected newProgressId(): string; withProgress<T>(text: string, locationId: string, task: () => Promise<T>, onDidCancel?: () => void): Promise<T>; } //# sourceMappingURL=progress-service.d.ts.map