arrow-fx / arrow.fx / Schedule / logOutput
abstract fun logOutput(f: (Output) -> Kind<F,
Unit
>):
Schedule
<F, Input, Output>
Run a effectful handler on every output. Does not alter the decision.
fun <F, A> logOutput(M: Monad<F>, f: (A) -> Kind<F,
Unit
>):
Schedule
<F, A, A>
Create a schedule with an effectful handler on the output.
Do you like Arrow?
✖