implementing state_timeout in AshStateMachine

Just had a look at https://github.com/ash-project/ash_state_machine/blob/v0.1.4/test/ash_state_machine_test.exs

Is there an option similar to :state_timeout from
https://www.erlang.org/doc/man/gen_statem.html#type-timeout_event_type

The use case is - if one state doesn't get a new transition within :state_timeout seconds, it doesn't keep waiting forever
GitHub
Finite State Machine extension for Ash.Resource. Contribute to ash-project/ash_state_machine development by creating an account on GitHub.
ash_state_machine/ash_state_machine_test.exs at v0.1.4 · ash-projec...
Was this page helpful?