createIterable<T>(iterCb): IterableIterator<T>
Creates an iterable Iterator object with the given callback as the next method.
Type Parameters
T
The type of IteratorCallback.
Parameters
iterCb
IteratorCallback<T>
The next callback for an Iterator.
Returns
IterableIterator<T>