Liking cljdoc? Tell your friends :D
ClojureScript only.

jtk-dvlp.re-frame.async-coeffects.tasks

Keeps a re-frame-tasks task running while the acofxs of its event are underway.

An event with acofxs is aborted and dispatched again once they are done, see jtk-dvlp.re-frame.async-coeffects/inject-acofxs. Without this namespace the task of the aborted run ends with it, and the run with the results opens a second one. Here the task is claimed while the acofxs run and the event picks it up again when it comes back.

Its own namespace, so re-frame-tasks is only needed by who requires it.

Keeps a re-frame-tasks task running while the acofxs of its event are
underway.

An event with acofxs is aborted and dispatched again once they are
done, see [[jtk-dvlp.re-frame.async-coeffects/inject-acofxs]].
Without this namespace the task of the aborted run ends with it, and
the run with the results opens a second one. Here the task is claimed
while the acofxs run and the event picks it up again when it comes
back.

Its own namespace, so re-frame-tasks is only needed by who requires it.
raw docstring

inject-acofxcljs

(inject-acofx id)
(inject-acofx id value)
(inject-acofx id value {:keys [on-failure inject-key]})
Like [[jtk-dvlp.re-frame.async-coeffects/inject-acofx]], see
[[inject-acofxs]].
sourceraw docstring

inject-acofxscljs

(inject-acofxs & acofxs)

Like jtk-dvlp.re-frame.async-coeffects/inject-acofxs, and keeps the task of the event running while the acofxs run. Place it after jtk-dvlp.re-frame.tasks/as-task; without a task it behaves just like the plain one.

One interceptor, so it serves as global interceptor too -- then as-task has to be a global one registered before it.

Like [[jtk-dvlp.re-frame.async-coeffects/inject-acofxs]], and keeps the
task of the event running while the acofxs run. Place it after
`jtk-dvlp.re-frame.tasks/as-task`; without a task it behaves just like
the plain one.

One interceptor, so it serves as global interceptor too -- then
`as-task` has to be a global one registered before it.
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