Marc Knaup
10/14/2020, 1:14 PMMutableStateFlow
is great for passing around a shared cache, or is it? 🤔louiscad
10/14/2020, 1:15 PMMarc Knaup
10/14/2020, 1:17 PMlouiscad
10/14/2020, 1:18 PMMarc Knaup
10/14/2020, 1:18 PMfun <T> MutableStateFlow<T>.withoutEmittingValueChanges(): MutableStateFlow<T> = …
It returns a new MutableStateFlow
that only emits values if they were not set by that Flow itself.Casey Brooks
10/14/2020, 2:11 PMMarc Knaup
10/14/2020, 2:13 PM