make execution and interrupt callback instead of commands

This commit is contained in:
Johannes Rieken
2021-04-07 16:35:08 +02:00
parent 76a230d4b4
commit 72d772b1a1
6 changed files with 65 additions and 40 deletions

View File

@@ -905,11 +905,10 @@ export interface INotebookKernelDto2 {
extensionName: string;
extensionLocation: UriComponents;
label: string;
executeCommand: ICommandDto;
interruptCommand?: ICommandDto;
description?: string;
isPreferred?: boolean;
supportedLanguages: string[];
supportsInterrupt?: boolean;
hasExecutionOrder?: boolean;
preloads?: UriComponents[];
}
@@ -1950,6 +1949,8 @@ export interface ExtHostNotebookEditorsShape {
export interface ExtHostNotebookKernelsShape {
$acceptSelection(handle: number, value: boolean): void;
$executeCells(handle: number, uri: UriComponents, ranges: ICellRange[]): void;
$cancelCells(handle: number, uri: UriComponents, ranges: ICellRange[]): void;
}
export interface ExtHostStorageShape {