( initial: LazyArg<S>, f: (s: S, input: In) => Effect.Effect<S, E, R> )
| 1495 | * @since 4.0.0 |
| 1496 | */ |
| 1497 | export const reduceEffect = <S, In, E, R>( |
| 1498 | initial: LazyArg<S>, |
| 1499 | f: (s: S, input: In) => Effect.Effect<S, E, R> |
| 1500 | ): Sink<S, In, never, E, R> => reduceWhileEffect(initial, constTrue, f) as any |
| 1501 | |
| 1502 | const head_ = reduceWhile(Option.none<unknown>, Option.isNone, (_, in_) => Option.some(in_)) |
| 1503 |
nothing calls this directly
no test coverage detected