UNPKG

@codibre/fluent-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

8 lines (7 loc) 208 B
export interface NextResult<T> { index: number; result: IteratorResult<T>; } export interface GetNextAsyncIterator<T> { (asyncIterator: AsyncIterator<T>, index: number): Promise<NextResult<T>>; }