Add progress bar

This commit is contained in:
Rob Lourens
2020-03-18 21:47:59 -07:00
parent 1344cb6c49
commit 95ba0b1e68
7 changed files with 37 additions and 13 deletions

View File

@@ -227,11 +227,11 @@ export class MainThreadNotebookController implements IMainNotebookController {
return false;
}
executeNotebookActiveCell(uri: URI): void {
async executeNotebookActiveCell(uri: URI): Promise<void> {
let mainthreadNotebook = this._mapping.get(URI.from(uri).toString());
if (mainthreadNotebook && mainthreadNotebook.textModel.activeCell) {
this._proxy.$executeNotebook(this._viewType, uri, mainthreadNotebook.textModel.activeCell.handle);
return this._proxy.$executeNotebook(this._viewType, uri, mainthreadNotebook.textModel.activeCell.handle);
}
}