Liking cljdoc? Tell your friends :D

automaton-simulation-de.registry

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)
raw docstring

add-registry-stopclj/s

(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.
raw docstring

getclj/s

(get event-registry event)

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)
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`)
raw docstring

schemaclj/s

(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.
raw docstring

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

× close