on Each Result
inline fun <T> ResultFlow<T>.onEachResult(crossinline success: suspend (T) -> Unit, crossinline failure: suspend (Throwable) -> Unit): ResultFlow<T>
Returns a flow that invokes the given actions for each success and failure before each value of the upstream flow is emitted downstream.
See also
on Each