You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dart2wasm's generated JS runtime has an invoke function for the main entry point of the program. However, this basically returns immediately, even if there is more asynchronous work to be done. We should have this function return a promise, which should attempt to match the behavior of the VM command line. That is to say, the promise should be resolved when there are no more asynchronous or pending tasks to run, and it should reject if there is an uncaught exception during execution (synchronous or asynchronous).