-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Stream API #3
Comments
This is also built into Fetch. Maybe we could make an easier API for it though. https://developer.mozilla.org/en-US/docs/Web/API/Streams_API/Using_readable_streams |
+1 |
What about |
👍 I like it. |
I'd like to work on this. Already have been but it's slower going. I wouldn't mind if anyone else is working on it concurrently for some collaboration/merging of ideas as well. Do you have any other features to add on besides the built-in |
Hi. How's it going? If you don't mind, i'll make a PR this weekend. |
@sindresorhus was the streaming API ever exposed? |
@jdalrymple yes, we added the ability to pass a callback function that receives chunks and metadata about the download progress, which you can use for streaming purposes. https://github.com/sindresorhus/ky#ondownloadprogress In the future, we will likely also add the ability to get a |
Ah! That's what I was looking for. So the response is currently not available to be returned as a readable stream. |
No description provided.
The text was updated successfully, but these errors were encountered: