Unwind async/await chains (#957)

*Cleanup several spots where runtime.run() no longer needs to be awaited, now that #928 is merged.
This commit is contained in:
Jeff Glass
2022-11-16 13:42:40 -06:00
committed by GitHub
parent 0b23310a06
commit 7e24289703
7 changed files with 22 additions and 24 deletions

View File

@@ -176,7 +176,7 @@ export class PyScriptApp {
this.logStatus('Setting up virtual environment...');
await this.setupVirtualEnv(runtime);
await mountElements(runtime);
mountElements(runtime);
// lifecycle (6.5)
this.plugins.afterSetup(runtime);
@@ -188,7 +188,7 @@ export class PyScriptApp {
// lifecycle (8)
createCustomElements(runtime);
await initHandlers(runtime);
initHandlers(runtime);
// NOTE: runtime message is used by integration tests to know that
// pyscript initialization has complete. If you change it, you need to