emscripten-core / emscripten-core/emscripten

FS.createLazyFile in WasmFS?

Open
#19,608 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.