Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/stream/custom/index.ts>StreamBase#foldStream

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
method StreamBase.prototype.foldStream
import { StreamBase } from "https://deno.land/x/rimbu@0.14.1/stream/custom/index.ts";

Parameters

init: OptLazy<R>
next: (
current: R,
value: T,
index: number,
halt: () => void,
) => R