theapache64
05/09/2021, 9:30 AMStateFlow
vs asStateFlow
? 🧵theapache64
05/09/2021, 9:31 AMtheapache64
05/09/2021, 9:31 AMDominaezzz
05/09/2021, 9:34 AMMutableStateFlow
.Joffrey
05/09/2021, 9:35 AMasSharedFlow
and asStateFlow
actually wrap your flow in a read-only instance. So people cannot down cast back to a mutable one and potentially mess up your statetheapache64
05/09/2021, 9:35 AMursus
05/09/2021, 2:42 PM