# `Finitomata.Listener`
[🔗](https://github.com/am-kantox/finitomata/blob/v0.35.0/lib/finitomata/listener.ex#L1)

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

# `after_transition`

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

To be called after a successful transition

---

*Consult [api-reference.md](api-reference.md) for complete listing*
