---
title: "Discussion on \"Chapter 25 : UseCase22 - Context Switching with flowOn\" | Hashnode"
description: "Discussion on \"Chapter 25 : UseCase22 - Context Switching with flowOn\". In this chapter we answer the core question :\nIf Flow is sequential, then how do we control which thread executes which part?\nThat’s what flowOn does.\nFlow is context-preserving by default. It means t"
url: "https://hashnode.com/posts/chapter-25-usecase22-context-switching-with-flowon/6997577230fd04958d5bed74"
---

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

Discussion

# [Chapter 25 : UseCase22 - Context Switching with flowOn](https://kotlinflow.hashnode.dev/chapter-25-usecase22-context-switching-with-flowon?utm_source=hashnode&utm_medium=feed)

In this chapter we answer the core question : If Flow is sequential, then how do we control which thread executes which part? That’s what flowOn does. Flow is context-preserving by default. It means t

Feb 19 · 2 min read · kotlinflow.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#kotlin-multiplatform](https://hashnode.com/tag/kotlin-multiplatform)
-   [#kotlin-coroutines](https://hashnode.com/tag/kotlin-coroutines)
-   [#kotlin-flow](https://hashnode.com/tag/kotlin-flow)
-   [#dispatchers](https://hashnode.com/tag/dispatchers)
-   [#dispatching](https://hashnode.com/tag/dispatching)
-   [#default](https://hashnode.com/tag/default)
-   [#marketcapitalization](https://hashnode.com/tag/marketcapitalization)
-   [#threads](https://hashnode.com/tag/threads)
-   [#marketcap](https://hashnode.com/tag/marketcap)
-   [#runblocking](https://hashnode.com/tag/runblocking)

## Written by

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122)

@hegde10122 · Mumbai,India

  
[View profile](https://hashnode.com/@hegde10122)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
