You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
511 B
8 lines
511 B
import { AsyncLazyIterable, AsyncSequence, ThenArg } from './types'; |
|
export declare class ImplAsyncSequence<T> implements AsyncSequence<T> { |
|
private i; |
|
constructor(i: AsyncLazyIterable<T>); |
|
private get iter(); |
|
[Symbol.asyncIterator](): AsyncIterableIterator<T> | AsyncIterator<T, any, undefined>; |
|
reduceAsync<U>(fnReduceAsync: (previousValue: ThenArg<U>, currentValue: ThenArg<T>, currentIndex: number) => ThenArg<U> | Promise<ThenArg<U>>, initialValue?: ThenArg<U>): Promise<ThenArg<U>>; |
|
}
|
|
|