Liking cljdoc? Tell your friends :D

fsm.protocols

Contains fsm protocol(s)

Contains fsm protocol(s)
raw docstring

StateMachineclj/sprotocol

-add-effectclj/s

(-add-effect _ key fn-3)

Add a side effect that is invoked when a change to state happens. Is called with the state machine, previous, and next state

Add a side effect that is invoked when a change to state happens. Is called with the state machine, previous, and next state

-current-stateclj/s

(-current-state _)

Return the current state of the state machine

Return the current state of the state machine

-transitionclj/s

(-transition _ event payload)

Transition the state machine to a new state

Transition the state machine to a new state
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close