| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Good work! |
Sorry, something went wrong.
|
I think this should include some code&test for finished() and pipeline() to support these. |
Sorry, something went wrong.
Added! |
Sorry, something went wrong.
Sorry, something went wrong.
Where? I can't find them in the code. There are no changes to finished and pipeline to support whatwg streams. |
Sorry, something went wrong.
I think I misunderstood. I added tests to show that the adapters work properly with finished and pipeline, but I have not modified either finish or pipeline to accept the web streams variants directly. I'd rather do that in a separate PR. |
Sorry, something went wrong.
There was a problem hiding this comment.
IMHO. The naming of the adapter methods are not very ergonomic....
Sorry, something went wrong.
Experimental adapters for the webstreams API Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: #39134 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
|
This needs a backport to land on v16.x because it depends on the semver-major #39294 |
Sorry, something went wrong.
|
Does anyone want to backport this? Maybe @nodejs/backporters ? |
Sorry, something went wrong.
|
I'm willing to take care of it. |
Sorry, something went wrong.
Experimental adapters for the webstreams API Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: nodejs#39134 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
|
Hey just wondering - is there any reason you chose not to overload Readable.from? I skimmed discussion and missed it (toWeb makes sense regardless) |
Sorry, something went wrong.
|
@benjamingr See this comment. It's not off the table, but at least for now it seemed better to keep it separate as .fromWeb(). |
Sorry, something went wrong.
|
I'm going to keep the backport-requested label for some time, in case someone has an idea to backport without the need for semver-major changes. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Experimental adapters for node.js streams and web streams.
Depends on #39062 (the first two commits here are from that PR and will be rebased out once that once lands)