import { AsyncReducer } from "https://deno.land/x/rimbu@0.13.1/common/async-reducer.ts";
const { join } = AsyncReducer;
Returns a Reducer
that joins the given input values into a string using the given options.
Examples
Example 1
Example 1
console.log(Stream.of(1, 2, 3).reduce(Reducer.join({ sep: '-' })))
// => '1-2-3'
Returns
AsyncReducer<T, string>