Skip to content

I'm interested more in how to use whatwg/fs with sync access handle #59

Answered by rhashimoto
jimmywarting asked this question in Q&A
Discussion options

You must be logged in to vote

[Edit: This initial reply is mostly wrong.]

I think createSyncAccessHandle() has only been implemented in Chromium-based browsers in an origin trial, but yes, if that restriction doesn't bother you then you should be able to write a VFS that works without Asyncify. Note that the origin trial ends in October.

You might want to look at the example VFS that uses asynchronous access handles as a starting point.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@rhashimoto
Comment options

@quolpr
Comment options

@jimmywarting
Comment options

@jimmywarting
Comment options

@rhashimoto
Comment options

Answer selected by jimmywarting
Comment options

You must be logged in to vote
1 reply
@jimmywarting
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants