exfsm alternatives and similar packages
Based on the "Algorithms and Data structures" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of exfsm or a related project?
Simple elixir library to define composable FSM as function
(not related at all with
:gen_fsm, no state/process management).
- define FSM with handler modules defining each transition as a simple function but using a
deftranswhich creates a function
fsmreturning the fsm transition map for this handler module.
deftranshas the same semantic as erlang in memory FSM gen_fsm
- combine together multiple fsm handlers to create a "meta" FSM.
- send event with the function
eventwhich simply find the right handler, execute the handler function.
See in in code documentation