Colleagues, I cant make diode, to send itself more than one action from another action. here the example from App circuit:
val handler = new ActionHandler(myZoomedState) {
override def handle = {
case action => effectOnly(Effect(someFuture map {_ =>
someAction //This action doesn't perform
someOtherAction //This one does
}))
case someAction => ???
case someOtherAction => ???
}
}
How can chain I actions? Something like >> whith callbacks:
someCallback >> someOtherCallback
Solution is to create another action, combining this two actions. And I still can handle
Futureerror. Looks like this: