( initial: LazyArg<S>, f: (s: S, input: In) => Effect.Effect<S, E, R> )
| 1424 | * @since 4.0.0 |
| 1425 | */ |
| 1426 | export const reduceEffect = <S, In, E, R>( |
| 1427 | initial: LazyArg<S>, |
| 1428 | f: (s: S, input: In) => Effect.Effect<S, E, R> |
| 1429 | ): Sink<S, In, never, E, R> => reduceWhileEffect(initial, constTrue, f) as any |
| 1430 | |
| 1431 | const head_ = reduceWhile(Option.none<unknown>, Option.isNone, (_, in_) => Option.some(in_)) |
| 1432 |
nothing calls this directly
no test coverage detected