Liking cljdoc? Tell your friends :D

arrudeia.core


*bypass*clj


*proc-name*clj


->*cljmacro

(->* & forms)

->*-readerclj

(->*-reader form)

build-thread-first-macro-bodyclj

(build-thread-first-macro-body ->-macro & forms)

cancel-remaining-stepsclj

(cancel-remaining-steps procs)

done-stepclj

(done-step args [proc-name keyword idx])

exceptionsclj


labelcljmacro

(label {:keys [:identifier :idx]} & body)

parse-process-namesclj

(parse-process-names process-name->process process-with-steps)

registercljmacro

(register proc-name pipe)

run-processes!clj

(run-processes! procs)

Returns a map of procs with their returned values.

Returns a map of `procs` with their returned values.
raw docstring

run-stepclj

(run-step proc-with-step)
(run-step [{:keys [:proc-name]} step]
          {:keys [:run-intermediate-steps?] :or {run-intermediate-steps? true}})

semaphoreclj


thread-first-macro-buildercljmacro

(thread-first-macro-builder name ->-macro)

Yes, a macro that creates another macro. It should be useful when you have some thread first macro from some of your dependencies (e.g. cats.core/->=) and you would like to use arrudeia.

It also creates a new data reader so you could use it with a tagged literal.

Yes, a macro that creates another macro.
It should be useful when you have some thread first
macro from some of your dependencies (e.g. cats.core/->=) and
you would like to use arrudeia.

It also creates a new data reader so you could use it
with a tagged literal.
raw docstring

valid-interleavingsclj

(valid-interleavings & processes-with-steps)

It returns all valid interleavings for processes with their steps.

For the example below, see that, for any interleaving, :step2 never comes before of :step1 and :step3 never appears before :step2. The order passed at input is respected at interleavings so you always have valid steps (we trust you to pass it correctly).

Usage example: (valid-interleavings [[:t1 :step1] [:t1 :step2] [:t1 :step3]] [[:t2 :other-step-1] [:t2 :other-step-2]]) => [... ;; other interleavings [[:t1 :step1] [:t2 :other-step-1] [:t1 :step2] [:t1 :step3] [:t2 :other-step-2]] ...] ;; other interleavings

It returns all valid interleavings for processes with their steps.

For the example below, see that, for any interleaving, `:step2` never comes
before of `:step1` and `:step3` never appears before `:step2`. The order
passed at input is respected at interleavings so you always have valid
steps (we trust you to pass it correctly).

Usage example:
(valid-interleavings [[:t1 :step1]
                      [:t1 :step2]
                      [:t1 :step3]]
                     [[:t2 :other-step-1]
                      [:t2 :other-step-2]])
=>
[...           ;; other interleavings
 [[:t1 :step1]
  [:t2 :other-step-1]
  [:t1 :step2]
  [:t1 :step3]
  [:t2 :other-step-2]]
 ...]          ;; other interleavings
raw docstring

var->keywordclj

(var->keyword v)

waiting-stepclj

(waiting-step [proc-name keyword idx])
(waiting-step args [proc-name keyword idx])

with-bypasscljmacro

(with-bypass & body)

without-bypasscljmacro

(without-bypass & body)

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

× close