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
Use Promise internal for handling run dependencies. NFC
This is a logical followup to #27121, and comes with a codesize
saving in many cases.
Add `$resolveRunDependencies` to allow awaiting the resolution of all
active run dependencies. This is useful for async runtime operations
like `emscripten_async_load_script` which need to wait for loaded
scripts to finish their own async setup (e.g. file preloading) before
triggering their onload callbacks.
Codesize impact:
- test_codesize_file_preload: -19 bytes (JS)
- test_codesize_hello_dylink_all: +40 bytes (JS)
- All other tests (including C++ tests): 0 bytes change (fully DCE'd)
0 commit comments