UNPKG

@thi.ng/transducers-async

Version:

Async versions of various highly composable transducers, reducers and iterators

11 lines 426 B
import type { MaybeAsyncIterable } from "@thi.ng/api"; import type { AsyncReducer } from "./api.js"; /** * Async reducer which concatenates inputs into a string, each value separated * by `sep` (default: ""). * * @param sep */ export declare function str<T>(sep?: string): AsyncReducer<T, string>; export declare function str<T>(sep: string, src: MaybeAsyncIterable<T>): Promise<string>; //# sourceMappingURL=str.d.ts.map