Helper functions related to the environment that can be used in a lambda execution environment on
env
.
Helper functions related to the environment that can be used in a lambda execution environment on `env`.
(assign! {:com.fulcrologic.statecharts/keys [data-model] :as env}
&
{:as path-value-pairs})
Side effect against the data model in env
, with the given path-value pairs.
Side effect against the data model in `env`, with the given path-value pairs.
(context-element-id env)
Returns the ID of the context (state of interest for the current operation) from an env, if set.
Returns the ID of the context (state of interest for the current operation) from an env, if set.
(delete! {:com.fulcrologic.statecharts/keys [data-model] :as env} & ks)
Side effect against the data model in env
, with the given keys/paths
Side effect against the data model in `env`, with the given keys/paths
[env state-id]
Alias for is-in-state?
[env state-id] Alias for `is-in-state?`
(is-in-state? {:com.fulcrologic.statecharts/keys [vwmem] :as _env} state-id)
Returns true if the given state-id
is active (in the configuration) of the state chart.
Returns true if the given `state-id` is active (in the configuration) of the state chart.
(raise {:com.fulcrologic.statecharts/keys [vwmem]} event)
Place an event on the internal event queue for immediate processing. Only callable from within active runnable content
Place an event on the internal event queue for immediate processing. Only callable from within active runnable content
(session-id {:com.fulcrologic.statecharts/keys [vwmem] :as _env})
Returns the session ID from an env.
Returns the session ID from an env.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close