1 min readAug 2, 2019
Flow’s analogue to flatMap
is named flatMapMerge
. So you can flatten a Flow<List<T>>
to Flow<T>
with flatMapMerge { it.asFlow() }
.
Flow’s analogue to flatMap
is named flatMapMerge
. So you can flatten a Flow<List<T>>
to Flow<T>
with flatMapMerge { it.asFlow() }
.
Project Lead for the Kotlin Programming Language @JetBrains