add (bring back) NotebookKernel#createNotebookCellExecutionTask

This commit is contained in:
Johannes Rieken
2021-04-12 18:43:21 +02:00
parent d38cfa11d8
commit 88006b8437
2 changed files with 6 additions and 0 deletions

View File

@@ -113,6 +113,10 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
data.supportsInterrupt = Boolean(value);
_update();
},
createNotebookCellExecutionTask(cell) {
//todo@jrieken
return that._extHostNotebook.createNotebookCellExecution(cell.document.uri, cell.index, data.id)!;
},
dispose: () => {
isDisposed = true;
this._kernelData.delete(handle);