spierce7
05/18/2021, 10:24 PM.value
work? I’m seeing instances where values are `emit`ted from the Flow
, but then the .value
is never updated to reflect the result that was either set on .value
or emit
on the Flow
.Zach Klippenstein (he/him) [MOD]
05/18/2021, 10:26 PMspierce7
05/18/2021, 10:39 PMDean Djermanović
05/19/2021, 6:44 AMZach Klippenstein (he/him) [MOD]
05/19/2021, 7:01 AMMutableStateFlow
conflates values. If the same value is set multiple times, it will only be emitted once, and if multiple distinct values are set before they can be emitted, then some will be dropped.