Skip to content

Instantly share code, notes, and snippets.

@NoNews
Last active January 3, 2022 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NoNews/22c1bad8b2e65444f3f5006e22379ed9 to your computer and use it in GitHub Desktop.
Save NoNews/22c1bad8b2e65444f3f5006e22379ed9 to your computer and use it in GitHub Desktop.
...
flatMapMerge {
doAction()
flowOf(1)
.flowOn(Dispatchers.Main)
.onEach { doAction() }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment