Open in app
Roman Elizarov
7.3K Followers
About

Sign in

7.3K Followers
About
Open in app
I was reading the docs of Flow s as you may have posted on this article.
1

Stavro Xhardha

Roman Elizarov

Roman Elizarov

Aug 2, 2019·1 min read

Flow’s analogue to flatMap is named flatMapMerge. So you can flatten a Flow<List<T>> to Flow<T> with flatMapMerge { it.asFlow() }.

Written by

Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains

More from Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains

More From Medium

Phantom of the Coroutine

Roman Elizarov

Programming Binary Search

Roman Elizarov

Functional Programming is on the rise

Roman Elizarov

Null is your friend, not a mistake

Roman Elizarov

Deep recursion with coroutines

Roman Elizarov

Kotlin and Exceptions

Roman Elizarov

A Tribute to Java

Roman Elizarov

Shared flows, broadcast channels

Roman Elizarov

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store