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

Norbi

03/30/2023, 1:04 PM
Is
MutableStateFlow
a heavy-weight object? Can I have thousands of them active?
j

jw

03/30/2023, 1:07 PM
Should be fine. You can use a tool like JOL for the JVM to see its memory impact or use a runtime memory profiler. I'm sure similar runtime tools exist for JS and native.
4 Views