pull-awaitable
Converts a pull-stream to an Async Iterable, usable with for-await-of
npm install --save pull-awaitable
NOTE! AsyncIterables and for-await-of
are only supported in in Node.js v10, Firefox 57+, and Chrome 66.
Usage
const pull = const awaitable = { const stream = pull; for await const x of console; // 'a' // 'b' }