MCPcopy Index your code
hub / github.com/Effect-TS/effect / foldLeftEffect

Function foldLeftEffect

packages/effect/src/internal/sink.ts:1066–1069  ·  view source on GitHub ↗
(
  s: S,
  f: (s: S, input: In) => Effect.Effect<S, E, R>
)

Source from the content-addressed store, hash-verified

1064
1065/** @internal */
1066export const foldLeftEffect = <S, In, E, R>(
1067 s: S,
1068 f: (s: S, input: In) => Effect.Effect<S, E, R>
1069): Sink.Sink<S, In, In, E, R> => foldEffect(s, constTrue, f)
1070
1071/** @internal */
1072export const foldUntil = <S, In>(s: S, max: number, f: (s: S, input: In) => S): Sink.Sink<S, In, In> =>

Callers

nothing calls this directly

Calls 1

foldEffectFunction · 0.85

Tested by

no test coverage detected