Liking cljdoc? Tell your friends :D

pallet.phase

A phase is a function of a single session argument, that contains calls to crate functions or actions. A phase has an implicitly defined pre and post phase.

A phase is a function of a single `session` argument, that contains
calls to crate functions or actions. A phase has an implicitly
defined pre and post phase.
raw docstring

all-phases-for-phaseclj

(all-phases-for-phase phase)

Return a sequence including the implicit pre and post phases for a phase.

Return a sequence including the implicit pre and post phases for a phase.
sourceraw docstring

check-session-threadcljmacro

(check-session-thread arg & body)

Add session checking to a sequence of calls which thread a session map. e.g.

(->
  session
  (check-session-thread
    (file "/some-file")
    (file "/other-file")))

The example is thus equivalent to:

(-> session
  (check-session "The session passed to the pipeline")
  (check-session (file "/some-file"))
  (check-session (file "/other-file")))
Add session checking to a sequence of calls which thread a session
map. e.g.

    (->
      session
      (check-session-thread
        (file "/some-file")
        (file "/other-file")))

The example is thus equivalent to:

    (-> session
      (check-session "The session passed to the pipeline")
      (check-session (file "/some-file"))
      (check-session (file "/other-file")))
sourceraw docstring

post-phase-nameclj

(post-phase-name phase)

Return the name for the post-phase for the given phase.

Return the name for the post-phase for the given `phase`.
sourceraw docstring

pre-phase-nameclj

(pre-phase-name phase)

Return the name for the pre-phase for the given phase.

Return the name for the pre-phase for the given `phase`.
sourceraw docstring

schedule-in-post-phasecljmacro

(schedule-in-post-phase & body)

Specify that the body should be executed in the post-phase.

Specify that the body should be executed in the post-phase.
sourceraw docstring

schedule-in-pre-phasecljmacro

(schedule-in-pre-phase & body)

Specify that the body should be executed in the pre-phase.

Specify that the body should be executed in the pre-phase.
sourceraw docstring

subphase-forclj

(subphase-for phase)

Return the phase this is a subphase for, or nil if not a subphase

Return the phase this is a subphase for, or nil if not a subphase
sourceraw docstring

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

× close