on Each Result
inline fun <T> KotlinResultFlow<T>.onEachResult(crossinline success: suspend (T) -> Unit, crossinline failure: suspend (Throwable) -> Unit): KotlinResultFlow<T>
Invokes success or failure before each element is emitted downstream, depending on whether the element is a success or failure.