UNPKG

@thi.ng/transducers-async

Version:

Async versions of various highly composable transducers, reducers and iterators

5 lines 386 B
import type { Fn, MaybeAsyncIterable, MaybePromise } from "@thi.ng/api"; import type { AsyncTxLike } from "./api.js"; export declare function run<A>(tx: AsyncTxLike<A, any>, src: MaybeAsyncIterable<A>): Promise<void>; export declare function run<A, B>(tx: AsyncTxLike<A, B>, fx: Fn<B, MaybePromise<unknown>>, src: MaybeAsyncIterable<A>): Promise<void>; //# sourceMappingURL=run.d.ts.map