retry command exec when having arguments, when contributes, and not yet activated, #80338

This commit is contained in:
Johannes Rieken
2019-09-13 08:49:33 +02:00
parent 73a128e867
commit cf88c7f310
5 changed files with 104 additions and 8 deletions

View File

@@ -115,7 +115,7 @@ export interface MainThreadClipboardShape extends IDisposable {
export interface MainThreadCommandsShape extends IDisposable {
$registerCommand(id: string): void;
$unregisterCommand(id: string): void;
$executeCommand<T>(id: string, args: any[]): Promise<T | undefined>;
$executeCommand<T>(id: string, args: any[], retry: boolean): Promise<T | undefined>;
$getCommands(): Promise<string[]>;
}