UNPKG

@thi.ng/transducers-async

Version:

Async versions of various highly composable transducers, reducers and iterators

6 lines 639 B
import type { IObjectOf } from "@thi.ng/api"; import type { AsyncMultiplexTxLike, AsyncReducer, AsyncTransducer } from "./api.js"; export declare function multiplexObj<A, B>(xforms: IObjectOf<AsyncMultiplexTxLike<A, any>>, rfn?: AsyncReducer<B, [PropertyKey, any]>): AsyncTransducer<A, B>; export declare function multiplexObj<A, B>(xforms: IObjectOf<AsyncMultiplexTxLike<A, any>>, src: Iterable<A>): IterableIterator<B>; export declare function multiplexObj<A, B>(xforms: IObjectOf<AsyncMultiplexTxLike<A, any>>, rfn: AsyncReducer<B, [PropertyKey, any]>, src: Iterable<A>): IterableIterator<B>; //# sourceMappingURL=multiplex-obj.d.ts.map