AsyncFlow

class AsyncFlow<out T> : Flow<T>

Functions

Link copied to clipboard
open suspend override fun collect(collector: FlowCollector<T>)

Extensions

Link copied to clipboard
suspend fun <T> AsyncFlow<T>.collect(concurrency: Int, collector: FlowCollector<T>)
inline suspend fun <T> AsyncFlow<T>.collect(concurrency: Int, crossinline action: suspend (T) -> Unit)
Link copied to clipboard
inline fun <T, R> AsyncFlow<T>.map(crossinline action: (T) -> R): AsyncFlow<R>

Sources

Link copied to clipboard