streams: implement Readable.from async iterator utility
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), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines