Liking cljdoc? Tell your friends :D
Clojure only.

taia.ds.datastar.use-cases.process-event.controller

The :controller proc of a component's flow: the state machine.

It reads events from the flow's in-chan (an in-port), builds the ctx the event transitions from (domain.ctx: from the client's signals, or the machine's initial state for a server event), runs the machine (domain.event) and emits {:event :initial-ctx :ctx} on :to-view. Nothing is kept between events.

The `:controller` proc of a component's flow: the state machine.

It reads events from the flow's in-chan (an in-port), builds the ctx the
event transitions from (`domain.ctx`: from the client's signals, or the
machine's initial state for a server event), runs the machine
(`domain.event`) and emits {:event :initial-ctx :ctx} on `:to-view`.
Nothing is kept between events.
raw docstring

procclj

The proc launcher. Built once (a launcher is stateless until started) from the step var, so a REPL redef reaches flows started afterwards.

The proc launcher. Built once (a launcher is stateless until started) from
the `step` var, so a REPL redef reaches flows started afterwards.
sourceraw docstring

stepclj

(step)
(step {:keys [in-chan] :as args})
(step state _transition)
(step state _in msg)

Step fn of the :controller proc (see clojure.core.async.flow/process). It keeps no state between events.

Step fn of the `:controller` proc (see `clojure.core.async.flow/process`).
It keeps no state between events.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close