emscripten-core / emscripten-core/emscripten
FS.createLazyFile in WasmFS?
Open
wasmfs
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
`FS.createLazyFile` reads from the remote server a chunk at a time, and only on demand. This uses sync XHR, however, so it's not a good idea to use. I'm also not sure if anyone actually uses it.
For now I suggest we don't implement it in WasmFS. Though perhaps using JSPI something could be done eventually.
Contributor guide
Assessment
This issue has not been assessed yet.