-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
fs: add support for async iterators to fs.writeFile
#38075
Comments
fs.writeFile
If #37948 lands, I think we shouldn't add features to the callback API. |
I would be +1 and would be happy to help you collaborate on this regardless of the callback APIs status of legacy yes/no. It would probably make sense for consistency IMO. |
if the async iterator is able to write plain uint8array instead of relying on the buffer, then yes +1 |
@jimmywarting are there any FS APIs that require |
@benjamingr Hmm, maybe in the old days, things might have changed for the better now :) remember that i could write a uint8array cuz it wasn't a buffer - this seems to no longer be the case |
I'm curious too, so I made it an issue.
If necessary, I would like to handle it.
The text was updated successfully, but these errors were encountered: