We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b267cea commit f76f050Copy full SHA for f76f050
src/controller.ts
@@ -23,13 +23,14 @@ export class SQLNotebookController {
23
this._controller.executeHandler = this._execute.bind(this);
24
}
25
26
- private _execute(
+ private async _execute(
27
cells: vscode.NotebookCell[],
28
_notebook: vscode.NotebookDocument,
29
_controller: vscode.NotebookController
30
- ): void {
+ ): Promise<void> {
31
for (let cell of cells) {
32
- this.doExecution(cell);
+ // run each cell sequentially, awaiting its completion
33
+ await this.doExecution(cell);
34
35
36
0 commit comments