-
Notifications
You must be signed in to change notification settings - Fork 66
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
Symbol.asyncIterator on FileSystemDirectoryHandle? #158
Comments
Good question, doesn't seem unreasonable to me, although that would also mean that |
What does the handle being async iterable have to due with renaming getEntries to getValues? |
Actually I misremembered things slightly, The way WebIDL currently defines async iterables (https://heycam.github.io/webidl/#idl-async-iterable), as well as the proposed additions in whatwg/webidl#808 for value iterables automatically result in a So in the simplest case of just marking the handle as Especially in that second case I don't think it makes sense to have |
have experimented with the API a bit, could not help but feel like
FileSystemDirectoryHandle
is missingSymbol.asyncIterator
that maps togetEntries
The text was updated successfully, but these errors were encountered: