Skip to content

lib: implement finished for webstreams

[Opening this PR as a draft to know if am on the right path and to get some comments]

I have been trying to implement the finished function to work on webstreams so far I am trying to use the adapters to convert the webstreams to streams but when trying to test it seems like 'end' event is not triggered for the readable stream that is created by the adapter function? could this be bug or am I doing something wrong?

Any help would be greatly appreciated and I will try to finish the full issue if get some clarity

Thank You in advance!

Refs: https://github.com/nodejs/node/issues/39316

Merge request reports

Loading