Sitemap
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() }.

--

--

Roman Elizarov
Roman Elizarov

Written by Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains

Responses (1)