Liking cljdoc? Tell your friends :D

knossos.op

Operations on operations!

An operation is comprised of a process with a type indicating whether it is invoking, completing, failing, or noting progress of a function f, called with an argument value. In addition, operations may have an :index which identifies their position in a history, and carry extra keys.

Operations on operations!

An operation is comprised of a `process` with a `type` indicating whether it
is invoking, completing, failing, or noting progress of a function `f`,
called with an argument `value`. In addition, operations may have an `:index`
which identifies their position in a history, and carry extra keys.
raw docstring

failclj

(fail process f value)

Constructs a fail op.

Constructs a fail op.
sourceraw docstring

fail?clj

(fail? op)

Is this op a failure?

Is this op a failure?
sourceraw docstring

infoclj

(info process f value)

Constructs an info op.

Constructs an info op.
sourceraw docstring

info?clj

(info? op)

Is this op an informational message?

Is this op an informational message?
sourceraw docstring

invokeclj

(invoke process f value)

Constructs an invocation op.

Constructs an invocation op.
sourceraw docstring

invoke?clj

(invoke? op)

Is this op an invocation?

Is this op an invocation?
sourceraw docstring

okclj

(ok process f value)

Constructs an OK op.

Constructs an OK op.
sourceraw docstring

ok?clj

(ok? op)

Is this op OK?

Is this op OK?
sourceraw docstring

opclj

(op process type f value)

Constructs a new operation for a history.

Constructs a new operation for a history.
sourceraw docstring

Op->mapclj

(Op->map op)

Turns an Op back into a plain old map

Turns an Op back into a plain old map
sourceraw docstring

same-process?clj

(same-process? a b)

Do A and B come from the same process?

Do A and B come from the same process?
sourceraw docstring

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

× close