The Interactive Extensions for JavaScript (IxJS) is a set of methods on top of Iteratable
and AsyncIterable
serving as a standard library for both. Much like its push-based counterpart, the Interactive Extensions for JavaScript unifies the programming model around pull-based collections, either synchronous in the case of Iterable
or asynchronous with AsyncIterable
.
Starting in ES6, the Symbol.iterator
method was introduced to allow for iteration over collections such as Array
, Map
, Set
and even ``Generator. IxJS introduces a number of creation factories and operators that operate on these
Iterable` collections lazily. Each factory can be imported from `'ix/iterable'` and operators from `'ix/iterable/operators'` such as the following creating an iterable via `of` and then transforming each item using the `map` operator. You c