Liking cljdoc? Tell your friends :D

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

The :invoke proc of a component's flow: the :src of a state the controller's step entered (an HTTP call, a save, …), off the controller.

It is taia.state-machines' invoke step (taia.state-machines.flow/invoke-step): it takes {:ctx :invoke …} on :from-machine, runs the :src on the ctx without its :state, and sends the message back on :to-machine with the event it raised ([:on-done result] / [:on-error ex-data]) — or the :error, when the :src threw something other than an ex-info. Every other key rides along. Here each :src runs under the sender's trace (:mulog-ctx), and is traced at :debug (around-invoke).

The `:invoke` proc of a component's flow: the :src of a state the
controller's step entered (an HTTP call, a save, …), off the controller.

It is taia.state-machines' invoke step (`taia.state-machines.flow/invoke-step`):
it takes {:ctx :invoke …} on `:from-machine`, runs the :src on the ctx
without its `:state`, and sends the message back on `:to-machine` with the
event it raised ([:on-done result] / [:on-error ex-data]) — or the `:error`,
when the :src threw something other than an ex-info. Every other key rides
along. Here each :src runs under the sender's trace (`:mulog-ctx`), and is
traced at :debug (`around-invoke`).
raw docstring

argsclj

The proc's args: the state lives under :state; each :src runs through around-invoke (the var: REPL redefs are picked up).

The proc's args: the state lives under :state; each :src runs through
`around-invoke` (the var: REPL redefs are picked up).
sourceraw docstring

around-invokeclj

(around-invoke {:keys [mulog-ctx invoke]} run)

Runs an invoke's :src (run) under the message's trace; at :debug, traced as invoke/<src's name>.

Runs an invoke's :src (`run`) under the message's trace; at :debug, traced
as invoke/<src's name>.
sourceraw docstring

procclj

The proc launcher: taia.state-machines' invoke step, from its var.

The proc launcher: taia.state-machines' invoke step, from its var.
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