(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 queueAnything 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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close