Erik
08/04/2020, 9:56 AMvalue
of a MutableStateFlow
from multiple threads? I guess it is, but then it is unknown which of the setters set the last value (which is also the last one collected/got from value
)? The StateFlow
docs mention 'All methods of data flow are thread-safe and can be safely invoked from concurrent coroutines without external synchronization', but does this include the value
setter and getter? Seems unlikely to me.gildor
08/04/2020, 10:20 AMgildor
08/04/2020, 10:21 AMErik
08/04/2020, 10:25 AMvalue
can be accessed from any thread and that it won't block the thread?gildor
08/04/2020, 10:33 AM