arrow-fx-coroutines / arrow.fx.coroutines / Schedule / logInput

logInput

abstract fun logInput(f: suspend (input: Input) -> Unit): Schedule<Input, Output>

Runs an effectful handler on every input. Does not alter the decision.

fun <A> logInput(f: suspend (A) -> Unit): Schedule<A, A>

Creates a Schedule with an effectful handler on the input.

Do you like Arrow?

Arrow Org
<