-
-
Save NoNews/614b114ceb9316586079da8603a12286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CoroutineScope(Dispatchers.Main.immediate).launch { | |
flowOf("Hey") | |
.onStart { doAction() } | |
.flowOn(Dispatchers.IO) | |
.onStart { doAction() } | |
.flowOn(Dispatchers.IO) | |
.onStart { doAction() } | |
.flowOn(Dispatchers.IO) | |
.collect() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment