-
Notifications
You must be signed in to change notification settings - Fork 9
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
Web support #31
Comments
I guess this falls under #24. My main concern is how the File System API you linked would map onto the I guess we could have a set of extension functions for opening the |
I think we should use OPFS by default, see
Will look into making a PR soon! |
Would there be interest in adding support for Web through the File System API?
It would be pretty straightforward, as it's all natively async anyway and there would be no need to spawn any blocking threads. Probably the most interesting part is documentation and converting errors to
io::Error
.All major browsers already support this, except Safari which doesn't support writing files in async, but only in sync.
Happy to make the PR of course!
The text was updated successfully, but these errors were encountered: