UNPKG

@thi.ng/transducers-async

Version:

Async versions of various highly composable transducers, reducers and iterators

5 lines 303 B
import type { MaybeAsyncIterable } from "@thi.ng/api"; import type { AsyncTransducer } from "./api.js"; export declare function take<T>(n: number): AsyncTransducer<T, T>; export declare function take<T>(n: number, src: MaybeAsyncIterable<T>): AsyncIterableIterator<T>; //# sourceMappingURL=take.d.ts.map