Commit graph

10 commits

Author SHA1 Message Date
Zach Daniel
c5a3601445 chore: add audit
refactor:  clean up state transition code
2024-04-23 14:22:17 -04:00
Zach Daniel
9198ca08ce improvement: optimize atomic state transition check 2024-04-17 02:32:42 +01:00
Zach Daniel
7f80527f51 improvement: add atomic implementation
closes #16
2024-04-17 01:58:43 +01:00
Zach Daniel
c89f651596 docs: clean up module documentation setup 2023-09-15 09:40:28 -04:00
James Harton
5cba78616c
improvement: Add possible_next_states helper. (#9)
* improvement: Add `possible_next_states` helper.

* chore: add `mix spark.cheat_sheets`.
2023-09-15 15:15:29 +12:00
James Harton
55ce5dd082
fix: Allow next_state to to match transitions from *. (#7) 2023-09-08 15:47:53 +12:00
James Harton
cf2bef0e38
feat: Add next_state builtin change. (#6)
When there is only a single possible next state that can be transitioned into, we can automatically transition into that state.
2023-09-08 13:35:51 +12:00
Zach Daniel
152e96605f improvement: fix lint/credo, handle all changeset types 2023-04-22 18:22:16 -06:00
Zach Daniel
06871a9977 chore: fsm -> state_machine, event -> transition 2023-04-21 22:33:28 -06:00
Zach Daniel
746ea32504 initial feature set 2023-04-21 13:25:39 -06:00