Interface ActionListener<S,E>

Type Parameters:
S - the type of state
E - the type of event
All Known Implementing Classes:
CompositeActionListener

public interface ActionListener<S,E>
ActionListener for various action events.
Author:
Janne Valkealahti
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 machine
      action - the action
      duration - the transition duration