consume

inline fun <T : Any> consume(scope: CoroutineScope, noinline block: suspend (T) -> Unit): Job

Consumes results of type T in scope. See ResultSource.consume.