@thi.ng/transducers-async
Version:
Async versions of various highly composable transducers, reducers and iterators
6 lines • 555 B
TypeScript
import type { FnAny, MaybeAsyncIterable } from "@thi.ng/api";
import type { AsyncTransducer, AsyncTxLike } from "./api.js";
export declare function iterator1<A, B>(xform: AsyncTxLike<A, B>, src: MaybeAsyncIterable<A>): AsyncIterableIterator<B>;
export declare function iterator<A, B>(xform: AsyncTxLike<A, B>, src: MaybeAsyncIterable<A>): AsyncIterableIterator<B>;
export declare const __iter: (xform: FnAny<AsyncTransducer<any, any>>, args: any[], impl?: typeof iterator1) => AsyncIterableIterator<any> | undefined;
//# sourceMappingURL=iterator.d.ts.map