UNPKG

iter-tools-es

Version:
5 lines 449 B
import { AsyncWrappable, AsyncIterableIterator } from '../../types/async-iterable'; declare function asyncEnumerate<T>(iterable: AsyncWrappable<T>): AsyncIterableIterator<[number, T]>; declare function asyncEnumerate<T>(firstIdx: number, source: AsyncWrappable<T>): AsyncIterableIterator<[number, T]>; declare function asyncEnumerate(firstIdx: number): <T>(source: AsyncWrappable<T>) => AsyncIterableIterator<[number, T]>; export { asyncEnumerate };