Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocking write API when in workers #103

Closed
sgenoud opened this issue Nov 1, 2019 · 1 comment
Closed

Blocking write API when in workers #103

sgenoud opened this issue Nov 1, 2019 · 1 comment
Milestone

Comments

@sgenoud
Copy link

sgenoud commented Nov 1, 2019

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.

@mkruisselbrink mkruisselbrink added this to the V2 milestone Apr 10, 2020
@a-sully
Copy link
Collaborator

a-sully commented Feb 11, 2022

Looks like this issue got lost in the shuffle, but this behavior is now available via Access Handle within the Origin Private File System. See #344

@a-sully a-sully closed this as completed Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants