Tolriq
11/18/2020, 7:40 AMAll methods of shared flow are *thread-safe* and can be safely invoked from concurrent coroutines without external synchronization.
But IDE on SharedFlow.emit says: Collects the value emitted by the upstream. This method is not thread-safe and should not be invoked concurrently.
Which one is right?elizarov
11/18/2020, 8:03 AMSharedFlow.emit
Tolriq
11/18/2020, 8:06 AMelizarov
11/18/2020, 8:15 AMTolriq
11/18/2020, 9:07 AMelizarov
11/18/2020, 9:09 AMTolriq
11/18/2020, 9:16 AM