import { constTrue } from "@tsplus/stdlib/data/Function" /** * A sink that effectfully folds its inputs with the provided function and * initial state. * * @tsplus static effect/core/stream/Sink.Ops foldLeftEffect */ export function foldLeftEffect( z: S, f: (s: S, input: In) => Effect ): Sink { return Sink.foldEffect(z, constTrue, f) }