Search documentation of Finitomata

# View Source Finitomata.Listener behaviour (Finitomata v0.22.1)

The behaviour to be implemented and passed to `use Finitomata` to receive all the state transitions notifications.

# Summary

## Callbacks

after_transition(id, state, payload)

To be called after a successful transition

# Callbacks

Link to this callback

# after_transition(id, state, payload)

View Source

    @callback after_transition(
      id :: Finitomata.fsm_name(),
      state :: Finitomata.Transition.state(),
      payload :: Finitomata.State.payload()
    ) :: :ok

To be called after a successful transition