emscripten-core / emscripten-core/emscripten

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

オープン
#12,349 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
wontfix
主要言語
C++
スター
27.6k
フォーク
3.6k
平均マージ
1日 6時間
マージ済み PR(30日)
109

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。