onLoading

infix inline fun <T> ApiResult<T>.onLoading(block: () -> Unit): ApiResult<T>

Invoke given block if this is Loading

See also