You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C code (as well as Rust code) tends to expect file APIs to be synchronous. Wasm integrations of some libraries that need disk access can be simpler when a blocking API is available.
It would be nice to offer sync versions of the write operations (writeSync, flushSync and closeSync) on the FileSystemWriter interface when in a worker (blocking APIs are always limited to workers).
There is an equivalent for reading data, the FileReaderSync interface.
The text was updated successfully, but these errors were encountered:
C code (as well as Rust code) tends to expect file APIs to be synchronous. Wasm integrations of some libraries that need disk access can be simpler when a blocking API is available.
It would be nice to offer sync versions of the write operations (
writeSync
,flushSync
andcloseSync
) on the FileSystemWriter interface when in a worker (blocking APIs are always limited to workers).There is an equivalent for reading data, the
FileReaderSync
interface.The text was updated successfully, but these errors were encountered: