We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Top-level await console.log('sync'); await new Promise(resolve => setTimeout(resolve)); console.log('async'); -> System.register([], function (exports, context) { return { setters: [], execute: async function () { console.log('sync'); await new Promise(resolve => setTimeout(resolve)); console.log('async'); } }; }); Where in dependency graphs, SystemJS supports variant B of the top-level await proposal.
console.log('sync'); await new Promise(resolve => setTimeout(resolve)); console.log('async');
->
System.register([], function (exports, context) { return { setters: [], execute: async function () { console.log('sync'); await new Promise(resolve => setTimeout(resolve)); console.log('async'); } }; });
Where in dependency graphs, SystemJS supports variant B of the top-level await proposal.
Originally posted by @guybedford in #26606
The text was updated successfully, but these errors were encountered:
This can now be closed.
Sorry, something went wrong.
Fixed in #35813
rbuckton
No branches or pull requests
Originally posted by @guybedford in #26606
The text was updated successfully, but these errors were encountered: