S
- the type of stateE
- the type of eventpublic interface ActionListener<S,E>
ActionListener
for various action events.Modifier and Type | Method and Description |
---|---|
void |
onExecute(StateMachine<S,E> stateMachine,
java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action,
long duration)
Notified duration of a particular action.
|
void onExecute(StateMachine<S,E> stateMachine, java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action, long duration)
stateMachine
- the state machineaction
- the actionduration
- the transition duration