editor: add tabs for controlling open/active files

This commit is contained in:
David Lechner
2022-04-07 21:17:09 -05:00
parent 56858390ca
commit 8ac77560fb
20 changed files with 1289 additions and 118 deletions
+7
View File
@@ -80,6 +80,13 @@ export class AsyncSaga {
}
}
/**
* Cancel the saga. Useful for testing task cancellation.
*/
public cancel(): void {
this.task.cancel();
}
public async end(): Promise<void> {
this.task.cancel();
await this.task.toPromise();