emscripten-core / emscripten-core/emscripten
[question] Using lazy files in browser in main thread but in async mode
Aperta
wontfix
- Lingua principale
- C++
- Stelle
- 27.6k
- Fork
- 3.6k
- Merge medio
- 1g 6h
- PR unite (30g)
- 109
Descrizione
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)
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.