---
title: "Discussion on \"Race, Queue, or Cancel: Choosing the Right flatMap for Your Kotlin Flow\" | Hashnode"
description: "Discussion on \"Race, Queue, or Cancel: Choosing the Right flatMap for Your Kotlin Flow\". How flatMapMerge, flatMapConcat and flatMapLatest differ on the same input, and the production failure modes each one hides."
url: "https://hashnode.com/posts/race-queue-or-cancel-choosing-the-right-flatmap-for-your-kotlin-flow/6af4b2049a2d1c1322f07ec6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Race, Queue, or Cancel: Choosing the Right flatMap for Your Kotlin Flow](https://android-expert.hashnode.dev/race-queue-or-cancel-choosing-the-right-flatmap-for-your-kotlin-flow?utm_source=hashnode&utm_medium=feed)

How flatMapMerge, flatMapConcat and flatMapLatest differ on the same input, and the production failure modes each one hides.

6d ago · 12 min read · android-expert.hashnode.dev  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#coroutines](https://hashnode.com/tag/coroutines)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Android Expert](https://hashnode.com/@android-expert)

@android-expert · Chennai, India

  
[View profile](https://hashnode.com/@android-expert)

Android Expert· Kotlin, Jetpack Compose & production pitfalls

Android Engineer &amp; Kotlin Advocate. 🚀 Deep dives into Jetpack Compose, Coroutines, and Clean Architecture. Turning complex code into scalable solutions. 🛠️✨

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
