emscripten-core / emscripten-core/emscripten

[question] Using lazy files in browser in main thread but in async mode

Abierto
#12,349 1 comentario 0 reacciones 0 asignados Ver en GitHub
wontfix
Lenguaje dominante
C++
Estrellas
27.6k
Forks
3.6k
Merge medio
1 d 6 h
PR fusionados (30 d)
109

Descripción

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)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.