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)

Add current event to stop reasons Params:

  • response
  • current-event
Add current event to stop reasons
Params:
* `response`
* `current-event`
raw docstring

add-stopclj/s

(add-stop response m)

Add map m among stop causes Params:

  • response
  • m map
Add map `m` among stop causes
Params:
* `response`
* `m` map
raw docstring

buildclj/s

(build stop snapshot)

Creates a response

Params:

  • stop
  • snapshot
Creates a response

Params:
* `stop`
* `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.

Params:

  • previous-snaphot
  • stop reason to 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`.

Params:
* `previous-snaphot`
* `stop` reason to stop
raw docstring

schemaclj/s

(schema)

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

× close