Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

com.fulcrologic.statecharts.algorithms.v20150901


new-processorclj/s

(new-processor machine-spec
               {:keys [data-model execution-model event-queue] :as options})

Create a processor that can initialize and process events for the given machine definition.

  • machine-spec - A valid state machine definition.
  • options - A map containing: ** :data-model (REQUIRED) A DataModel ** :execution-model (REQUIRED) An ExecutionModel ** :event-queue (REQUIRED) An event queue

Anything else you put in the options map becomes part of the runtime env.

Returns a Processor. See protocols/Processor.

Create a processor that can initialize and process events for the given machine definition.

* `machine-spec` - A valid state machine definition.
* `options` - A map containing:
** :data-model      (REQUIRED) A DataModel
** :execution-model (REQUIRED) An ExecutionModel
** :event-queue     (REQUIRED) An event queue

Anything else you put in the options map becomes part of the runtime `env`.

Returns a Processor. See protocols/Processor.
sourceraw docstring

Processorcljs

source

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

× close