Liking cljdoc? Tell your friends :D

automaton-simulation-de.middleware.response

Is a response of an handler. It contains:

  • stop
  • scheduler-snapshot.
Is a response of an handler.
It contains:
* `stop`
* `scheduler-snapshot`.
raw docstring

add-current-eventclj/s

(add-current-event response current-event)

Adds current event to stop reasons.

Adds current event to stop reasons.
raw docstring

add-stopclj/s

(add-stop response m)

Add map m among stop causes.

Add map `m` among stop causes.
raw docstring

buildclj/s

(build stop snapshot)

Creates a response with the stop ans snapshot.

Creates a response with the `stop` ans `snapshot`.
raw docstring

prepareclj/s

(prepare previous-snapshot stop)

Prepares a response based on the snapshot before the iteration

Returns a response containing the next snapshot and the stop coming from the request. A stop condition is added if the next-snapshot happens before the current previous-snapshot.

Prepares a response based on the snapshot before the iteration

Returns a response containing the next snapshot and the stop coming from the request.
A stop condition is added if the `next-snapshot` happens before the current `previous-snapshot`.
raw docstring

schemaclj/s

(schema)

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

× close