What is the simplest way of using broadcast on the side effect flow for multi-casting: https://orbit-mvi.org/Core/overview/#side-effect
I am using sharedviewmodel so I would like side effect to trigger multiple observers
m
Mikolaj Leszczynski
11/21/2022, 8:28 PM
you need to convert the side effect flow to a shared flow using the
shareIn
operator, with the caveat that this will make side effect caching unreliable (the first collector to reconnect would receive all of the cached side effects)