同事们,我不能让diode
自己从另一个动作中发送一个以上的动作。这里的例子来自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 => ???
}
}
如何链接我的行动?像这样的>>
东西callbacks
:
someCallback >> someOtherCallback