revert grid streaming changes (#12650)

This commit is contained in:
Lucy Zhang
2020-09-28 18:34:58 -07:00
committed by GitHub
parent 44416abe6e
commit cf9754f627
4 changed files with 125 additions and 79 deletions

View File

@@ -408,7 +408,7 @@ export class CellModel extends Disposable implements ICellModel {
const future = kernel.requestExecute({
code: content,
stop_on_error: true
}, false, this._cellUri.toString());
}, false);
this.setFuture(future as FutureInternal);
this.fireExecutionStateChanged();
// For now, await future completion. Later we should just track and handle cancellation based on model notifications