Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

com.fulcrologic.statecharts.execution-model.lambda

An execution model that expects expressions a conditions to be CLJ(C) expressions or functions. It integrates with the data model so that return values of scripts/expressions can return updates for the data model. It also requires the event queue so it can send error events back to the machine if the expression has an error.

An execution model that expects expressions a conditions to be CLJ(C)
expressions or functions. It integrates with the data model so that return values
of scripts/expressions can return updates for the data model. It also requires the event queue
so it can send error events back to the machine if the expression has an error.
raw docstring

CLJCExecutionModelcljs

source

new-execution-modelclj/s

(new-execution-model data-model event-queue)

Create a new execution model that expects state machine expressions to be (fn [env expr]). Such expressions can return arbitrary values, can use the data model from the env to side-effect into the data model. If an expression (NOT as a condition) returns a vector, then an attempt will be made to run it as a data model update.

Create a new execution model that expects state machine expressions to be `(fn [env expr])`. Such expressions
can return arbitrary values, can use the data model from the `env` to side-effect into the data model. If
an expression (NOT as a condition) returns a vector, then an attempt will be made to run it as a data model
update.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close