Skip to content

streams: implement Readable.from async iterator utility#27660

Closed
guybedford wants to merge 1 commit intonodejs:masterfrom
guybedford:readable-from
Closed

streams: implement Readable.from async iterator utility#27660
guybedford wants to merge 1 commit intonodejs:masterfrom
guybedford:readable-from

Conversation

@guybedford
Copy link
Contributor

This implements a Readable.from utility method for easily converting async iterators into readable streams.

The implementation and approach are taken directly from the toReadable implementation in https://github.com/mcollina/stream-iterators-utils.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. semver-minor PRs that contain new features and should be released in the next minor version. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.