pull-stream-to-async-iterator
Convert a pull stream to an async iterator
Install
npm install pull-stream-to-async-iterator
Usage
const toIterator = const source = const iterator = for { console}
API
toIterator(source)
Convert a source
pull stream into an async iterator. Returns an async iterator that can be used in a for
/await
/of
loop.
Contribute
Feel free to dive in! Open an issue or submit PRs.
License
MIT © Alan Shaw