(completed? _)
(done? _)
(halted? _)
(reset _)
(step-specs _)
(steps _)
(success? _)
Modifies the state to indicate stop further processing.
Modifies the state to indicate stop further processing.
Given a state, returns true
iff halt!
has been used to indicate processing stop and false
otherwise.
Given a state, returns `true` iff `halt!` has been used to indicate processing stop and `false` otherwise.
(completed-steps _)
(failure _)
(failure-step _)
(failure-string _)
(failure-value _)
(output _)
(side-effect step-fn step-spec)
Returns a Step Function which acts as the identity function with respect to the map when called,
but calling step-fn
before the map is returned. step-fn
must be a thunk (a zero-argument
function).
Returns a Step Function which acts as the identity function with respect to the map when called, but calling `step-fn` before the map is returned. `step-fn` must be a thunk (a zero-argument function).
(step vstep)
(step step-fn step-spec)
Returns a Step, which is an atomic element in an Action and must be a Step Function: A function which accepts and returns a map which represents the state of the Action. Actions consistent of a sequence of zero or more Steps.
step-fn
must be one of:
nil
- indicating a no-operation Step[]
- the empty vector, indicating a no-operation Stepstep-spec
is the data that is optionally associated with Steps, it can be any value.
Returns a Step, which is an atomic element in an Action and must be a Step Function: A function which accepts and returns a map which represents the state of the Action. Actions consistent of a sequence of zero or more Steps. `step-fn` must be one of: - A Step Function: A function accepting and returning a map - A symbol referencing Step Function - A vector whose first element is a symbol which resolves to a function which will be called with the remaining members of the vector - `nil` - indicating a no-operation Step - `[]` - the empty vector, indicating a no-operation Step `step-spec` is the data that is optionally associated with Steps, it can be any value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close