Flows: What is meant by flattening - devrath/KotlinAlchemy GitHub Wiki

What is meant by flattening

  • See, A flow might call another flow. This might result in a Flow of Flows meaning Flow<Flow>
  • Now say we want to get the underlying data.
  • This is called Flattening

API's for flattening

  • flatMapConcat
  • flatMapMerge
  • flatMapLatest
⚠️ **GitHub.com Fallback** ⚠️