Interface ActionListener<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Known Implementing Classes:
CompositeActionListener
public interface ActionListener<S,E>
ActionListener
for various action events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onExecute
(StateMachine<S, E> stateMachine, Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>> action, long duration) Notified duration of a particular action.
-
Method Details
-
onExecute
void onExecute(StateMachine<S, E> stateMachine, Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>> action, long duration) Notified duration of a particular action.- Parameters:
stateMachine
- the state machineaction
- the actionduration
- the transition duration
-