emscripten-core / emscripten-core/emscripten
[question] Using lazy files in browser in main thread but in async mode
Offen
wontfix
- Vorherrschende Sprache
- C++
- Sterne
- 27.6k
- Forks
- 3.6k
- Ø Merge
- 1 T. 6 Std.
- Gemergte PRs (30 T.)
- 109
Beschreibung
The docs mention that browsers disallow synchronous XHR and thus lazy files are supported only in Web Worker mode. But binary XHR are supported in async mode, aren't they? When using MODULARIZE'd modules, we're in async mode anyway (and maybe ASYNCIFY could help to yield execution while file is loading over the internet)
(For me, it's mostly a question about consistency/ease of debugging, since in practice the heavy code should be running in Web Worker anyway)
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.