Hello. What is the best solution for replacing SingleLiveEvent with coroutines? Explanation: I have some events. And multiples subscribers for these events. But I need only one time to consume this event in any of the subscribers.
04/05/2021, 3:53 PM
SharedFlow is probably your best bet
04/05/2021, 4:22 PM
This use case was specifically covered in Roman's blog post on Shared flows and channels (tl/dr: use a Channel and