Liking cljdoc? Tell your friends :D

taia.ds.state-machines.domain

Malli schemas for state machine data structures. Available on both JVM and ClojureScript via reader conditionals — Malli requires :clj for fn? predicates, so those are guarded.

Malli schemas for state machine data structures.
Available on both JVM and ClojureScript via reader conditionals —
Malli requires :clj for fn? predicates, so those are guarded.
raw docstring

Contextclj

The context map that flows through state machine transitions — both as input (from-state) and output (transition result). Always contains a state value (keyword or vector of keywords) under a configurable key — :_state by default, :state when used by the datastar pipeline. Also carries :memory and any domain-specific keys added by actions. The :invoke key is always stripped from transition output. Open map — components freely extend the context with domain keys.

The context map that flows through state machine transitions — both as input
(from-state) and output (transition result). Always contains a state value
(keyword or vector of keywords) under a configurable key — :_state by default,
:state when used by the datastar pipeline. Also carries :memory and any
domain-specific keys added by actions. The :invoke key is always stripped
from transition output.
Open map — components freely extend the context with domain keys.
sourceraw docstring

Eventclj

An event is a tuple of [keyword params-map].

An event is a tuple of [keyword params-map].
sourceraw docstring

MachineDefinitionclj

Top-level machine shape. Intentionally open — machines contain deeply nested :states/:on/:invoke structures with function values that are impractical to fully schema.

Top-level machine shape. Intentionally open — machines contain deeply nested
:states/:on/:invoke structures with function values that are impractical to fully schema.
sourceraw docstring

Stateclj

State can be a keyword (flat) or a vector of keywords (hierarchical).

State can be a keyword (flat) or a vector of keywords (hierarchical).
sourceraw docstring

TransitionOptsclj

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