Re:No Abstractions: our API design principle
by dumbo-octopus on Thursday April 25, 2024 @09:43PM
(#40165074)
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...
[ Parent
| on HN ]
Re:No Abstractions: our API design principle
by jampekka on Friday April 26, 2024 @04:14AM
(#40166980)
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...