Package-level declarations

Types

Link copied to clipboard
class AsyncFlow<out T> : Flow<T>

Functions

Link copied to clipboard
inline fun <T, R> Flow<T>.async(dispatcher: CoroutineDispatcher = Dispatchers.Default, crossinline block: suspend CoroutineScope.(T) -> R): AsyncFlow<R>
Link copied to clipboard
inline suspend fun <T> AsyncFlow<T>.collect(concurrency: Int, crossinline action: suspend (value: T) -> Unit)
suspend fun <T> AsyncFlow<T>.collect(concurrency: Int, collector: FlowCollector<T>)
Link copied to clipboard
inline fun <T, R> AsyncFlow<T>.map(crossinline action: (T) -> R): AsyncFlow<R>
Link copied to clipboard
inline fun <T, R> Flow<T>.mapParallel(dispatcher: CoroutineDispatcher = Dispatchers.Default, crossinline transform: suspend (T) -> R): Flow<R>

Properties

Link copied to clipboard