2.1.2 • Published 6 years ago
asynciterator-union v2.1.2
Async Union Iterator
An AsyncIterator for taking the union of different AsyncIterators.
As of version 1.2.0, this requires Node version 8 or higher.
Usage
const RoundRobinUnionIterator = require('asynciterator-union').RoundRobinUnionIterator;
let it = new RoundRobinUnionIterator([AsyncIterator.range(0, 2), AsyncIterator.range(2, 4)]);
it.on('data', console.log);
License
This software is written by Ruben Taelman.
This code is released under the MIT license.