-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Make Deno.readDir
actually streaming
#4218
Comments
This is implemented: https://doc.deno.land/builtin/stable#Deno.readDir |
Actually while the public interface is async streaming, it is internally still non-streaming. Reopening |
For context, in the implementation we are collecting the iterator into an array and dispatching it via JSON to the JS call site. Works but semantically not very sound. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
For reference, here is how this is implemented in Node:
|
Deno.readDir
actually streaming
probably with async iterator
The text was updated successfully, but these errors were encountered: