Event registry contains Event registry kv.
Event registry kv associates one event type to event execution.
Event registry contains Event registry kv. Event registry kv associates one event type to event execution. * [See entity](docs/archi/registry_entity.png)
(add-registry-stop response event)Adds a stop reason at ::execution if the registry entry is not found.
Adds a stop reason at `::execution` if the registry entry is not found.
(get event-registry event)Get in the event-registry the event id called event.
Returns the execution function
statefuture-eventseventscheduler-iteration (i.e. a map with state and future-events)Get in the `event-registry` the event id called `event`. Returns the execution function * with parameters: * `state` * `future-events` * `event` * Returns what changes in the `scheduler-iteration` (i.e. a map with `state` and `future-events`)
(schema)Map associating event-type to event-execution.
An event execution is updating the state and may trigger some new events to be added in the future events. The result of the event execution could be dependent on the state or random variable.
Map associating `event-type` to `event-execution`. An event execution is updating the state and may trigger some new events to be added in the future events. The result of the event execution could be dependent on the state or random variable.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |