Kotlin Flow emit() wrapped in runCatching swallows AbortFlowException from .first() / .take(1) and keeps running upstream loop
Language: Kotlin · Versions: Kotlin 2.1.0 (kotlinx-coroutines-core:1.9.0) The problem I wrote a Flow producer that wraps an emit(...) call inside runCatching { ... } so it can log…
2 posts ·