Similar to MutableStateFlow.onSubscription but returns a MutableStateFlow.
Similar to StateFlow.onSubscription but returns a StateFlow.