Dfa behaviour (dfa v0.1.12)
Behaviour of deterministic finite automaton.
Link to this section Summary
Callbacks
Defines a state change event.
Removes a state change event.
Load a state.
Triggers an event.
Link to this section Types
Link to this type
option()
Specs
Link to this section Callbacks
Specs
initialize!(String.t(), integer(), String.t(), [option()]) :: Redix.Protocol.redis_value()
Specs
Link to this callback
on!(t, integer, t, t, t, list)
Specs
on!(String.t(), integer(), String.t(), String.t(), String.t(), [option()]) :: Redix.Protocol.redis_value()
Defines a state change event.
Link to this callback
rm!(t, integer, t, list)
Specs
rm!(String.t(), integer(), String.t(), [option()]) :: Redix.Protocol.redis_value()
Removes a state change event.
Link to this callback
state!(t, integer, list)
Specs
state!(String.t(), integer(), [option()]) :: Redix.Protocol.redis_value()
Load a state.
Link to this callback
trigger!(t, integer, t, list)
Specs
Triggers an event.