The effect vocabulary: every value step may hand back for the executor to perform, and
nothing else. This namespace knows what an effect is, resource knows when to emit one and
what to put in it, and the executor in elements/server-resource performs exactly tags.
The effect vocabulary: every value `step` may hand back for the executor to perform, and nothing else. This namespace knows what an effect is, `resource` knows when to emit one and what to put in it, and the executor in `elements/server-resource` performs exactly `tags`.
(abort request-id)End the in-flight request named by request-id.
End the in-flight request named by `request-id`.
(diagnostic code)(diagnostic code detail)Say something happened without changing anything, optionally carrying detail the executor
prints beside the code. The executor only console.debugs it.
Say something happened without changing anything, optionally carrying `detail` the executor prints beside the code. The executor only console.debugs it.
(fetch request)Send the built read request.
Send the built read `request`.
(notify-consumers resource-id view)Hand view to the consumers attached to this element. The executor reports a throwing consumer
against resource-id, the resource the view was projected from.
Hand `view` to the consumers attached to this element. The executor reports a throwing consumer against `resource-id`, the resource the view was projected from.
(route-intent target-id patch)Hand patch to the resource named target-id, which the executor resolves to an element.
Hand `patch` to the resource named `target-id`, which the executor resolves to an element.
Every effect a transition can return, pinned against the executor's handlers.
Every effect a transition can return, pinned against the executor's handlers.
(url-write resource-id params mode)Project params onto the address bar under resource-id's scope, in mode (:push or
:replace).
Project `params` onto the address bar under `resource-id`'s scope, in `mode` (:push or :replace).
(write request)Send the built write request.
Send the built write `request`.
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 |