Is there any way to get *`MutableStateFlow`* to work with *`WhileSubscribed`* ? I think the idea of ...
l
Is there any way to get
MutableStateFlow
to work with
WhileSubscribed
? I think the idea of
WhileSubscribed
is nice but it looks like the usage is limited if we are going directly from a cold flow to a hot flow
l
You can look into subscriberCount, or use Flow.shareIn otherwise.