create an IfAction
create an IfAction
the condition that decides whether to execute thenNext or elseNext
the chain of actions executed if condition evaluates to true
chain of actions executed if condition evaluates to false
chain of actions executed if condition evaluates to false and elseNext equals None
Evaluates the condition and decides what to do next
chain of actions executed if condition evaluates to false and elseNext equals None
Makes sure that in case of an actor crash, the Session is not lost but passed to the next Action.
A conditional Action