Not a library question per se, What is the best wa...
# mvikotlin
r
Not a library question per se, What is the best way to handle an external stream of events into an MVI. I have a player MVI that receives external trackChange events from a queue. Is a good structure just map these trackChange events to intents and bind them to the store? or use another way (Actions?)
a
I would exactly bind events to intents. With MVIKotlin specifically, we can subscribe to the events in the Bootstrapper and emit Actions. Both options would work, the first seems a bit more preferred.
👍 1