send requests per provider so that a hanging provider doesn't block other providers, https://github.com/microsoft/vscode/issues/100524

This commit is contained in:
Johannes Rieken
2020-06-23 11:23:03 +02:00
parent de1250599c
commit 3fd09e62b5
4 changed files with 130 additions and 46 deletions

View File

@@ -1525,7 +1525,6 @@ export interface ExtHostDebugServiceShape {
export interface DecorationRequest {
readonly id: number;
readonly handle: number;
readonly uri: UriComponents;
}
@@ -1533,7 +1532,7 @@ export type DecorationData = [number, boolean, string, string, ThemeColor];
export type DecorationReply = { [id: number]: DecorationData; };
export interface ExtHostDecorationsShape {
$provideDecorations(requests: DecorationRequest[], token: CancellationToken): Promise<DecorationReply>;
$provideDecorations(handle: number, requests: DecorationRequest[], token: CancellationToken): Promise<DecorationReply>;
}
export interface ExtHostWindowShape {