Skip to content
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

lib: implement finished for webstreams #45898

Closed

Conversation

debadree25
Copy link
Member

[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: #39316

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/streams

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Dec 17, 2022
@mcollina
Copy link
Member

I don't think using the adapters is the right path.

@debadree25
Copy link
Member Author

I don't think using the adapters is the right path.

Thanks, any suggestions? re-implementing from scratch?

@mcollina
Copy link
Member

Add a few more ifs in the current finished implementation to handle WHATWG Streams.

@debadree25
Copy link
Member Author

Add a few more ifs in the current finished implementation to handle WHATWG Streams.

Ok attempting to do so thank you!

@debadree25
Copy link
Member Author

Closing the pr for the meanwhile will reopen it once i am able to figure out a little better

@debadree25 debadree25 closed this Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants