https://kotlinlang.org logo
#coroutines
Title
# coroutines
c

Colton Idle

07/25/2022, 6:45 AM
Are there any Flow debugging tips or tools? For example, I think I have gotten myself into a bit of a mess with a few Flows that I'm using, and other flows that are collected as a result of one main flow (think Flow<UserSession> being collected and in collect{ someLongLastingFlowable() }) Is there like anyway to see how many flowsables I currently have going on? This would also be great when I put my android application into the background and hopefully I'd be able to inspect how many flowables haven't properly "shut down", or at this point should I just put log statement everywhere?
👀 1
d

dewildte

07/26/2022, 6:55 PM
.onEach { log emission }
?
c

Colton Idle

07/27/2022, 1:16 AM
good ol logs 😄
2 Views