whatwg / fs

File System Standard
https://fs.spec.whatwg.org/
Other
238 stars 20 forks source link

close() method missing? #44

Closed ronburk closed 2 years ago

ronburk commented 2 years ago

I'm a little confused by the fact that closing is mentioned many times as a concept, it appears there is a close() method that I'm calling successfully under Chrome, and yet I don't see any actual explicit documentation of a close() method.

a-sully commented 2 years ago

FileSystemWritableFileSteam (what you get when you call handle.createWritable()) extends WritableStream, which has a close() method.

SyncAccessHandle also has a close() method, though specifying this is still a WIP. See #21