deep-iterable
Requirements
- Node >= 6.0.0
Features
- Traverse several iterables at the same time
Usage
Import
var ParallelIterable = ;
Constructor
stop ...iterables;
Where:
-
stop
is a function which determines when to stop -
...iterables
are ECMAScript iterable objects
Examples
var iterables = 'abcdef' 'ghi' 'jklmnopqrs' 'tuvwxyz';var END_OF_FIRST END_OF_SOME END_OF_ALL FOR_COUNT = ParallelIterable;var eofirst = ...END_OF_FIRST ...iterables;var eosome = ...END_OF_SOME ...iterables;var eoall = ...END_OF_ALL ...iterables;var firstfive = ... ...iterables;console;