Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
dumbo-octopus
2y ago
0 comments
Save
Share
It's 4 async calls, and it can be done entirely in the main thread so long as you use the async API.
https://developer.mozilla.org/en-US/docs/Web/API/FileSystemW...
0 comments
1 comments · 1 top-level
top
newest
oldest
jampekka
2y ago
For OPFS it's still 6 calls. And the async API doesn't support flushing writes.
https://developer.mozilla.org/en-US/docs/Web/API/File_System...
j
/
k
navigate · click thread line to collapse