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.
(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.
(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")))
(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`.
(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`.
(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.
(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.
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close