(all-transitions state-machine)
Returns all the unique transitions (events) that a state machine handles
Returns all the unique transitions (events) that a state machine handles
(install-state-machine! state-machine)
Installs a locket state machine. This function is side-effecting and alters the re-frame registry. It should be called after the definitions of the related event handlers.
Installs a locket state machine. This function is side-effecting and alters the re-frame registry. It should be called after the definitions of the related event handlers.
(state id db)
(state id db query-v)
Returns the current state of a state machine, given the id, a re-frame db and an optional query-v
Returns the current state of a state machine, given the id, a re-frame db and an optional query-v
(transition->str transition)
Takes fired transition data and turns it into a neat string representation
Takes fired transition data and turns it into a neat string representation
(transitions id db)
(transitions id db query-v)
Returns the transitions from the current state of a state machine
Returns the transitions from the current state of a state machine
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close