flattenConcat

fun <T> Flow<Flow<T>>.flattenConcat(): Flow<T>

Flattens the given flow of flows into a single flow in a sequentially manner, without interleaving nested flows. This method is conceptually identical to flattenMerge(concurrency = 1) but has faster implementation.

Inner flows are collected by this operator sequentially.

Sources

common source
Link copied to clipboard