0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 15:21:26 -05:00
This commit is contained in:
Zach Gotsch 2020-06-10 14:19:56 -07:00 committed by GitHub
parent fa6f10219e
commit e53a1b1496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ browsers could not consume modules that require top-level-await.
In order to facilitate this, there are two functions that are in the scope of In order to facilitate this, there are two functions that are in the scope of
the module in addition to the `System.register()` method. `__instantiate(main)` the module in addition to the `System.register()` method. `__instantiate(main)`
will bootstrap everything synchronously and `__instantiate(main)` will do so will bootstrap everything synchronously and `__instantiateAsync(main)` will do
asynchronously. When emitting a bundle that contains a module that requires so asynchronously. When emitting a bundle that contains a module that requires
top-level-await, Deno will detect this and utilise top-level-await, Deno will detect this and utilise
`await __instantiateAsync(main)` instead. `await __instantiateAsync(main)` instead.