Liking cljdoc? Tell your friends :D

com.palletops.leaven.protocols

Protocols for leaven components

Protocols for leaven components
raw docstring

Queryableclj/s≠protocol

Allows a component to implement a status function, which may just have side effects (like logging).

Allows a component to implement a status function, which may just
have side effects (like logging).

statusclj/s

(status component)

Allow a component to be queried for status.

Allow a component to be queried for status.
sourceraw docstring

queryable?clj/s

(queryable? x)

Predicate for testing whether x satisfies the Queryable protocol.

Predicate for testing whether `x` satisfies the Queryable protocol.
sourceraw docstring

Startableclj/s≠protocol

Basic lifecycle for a component.

Basic lifecycle for a component.

startclj/s

(start component)

Start a component. Returns an updated component.

Start a component. Returns an updated component.
sourceraw docstring

startable?clj/s

(startable? x)

Predicate for testing whether x satisfies the Startable protocol.

Predicate for testing whether `x` satisfies the Startable protocol.
sourceraw docstring

Stoppableclj/s≠protocol

stopclj/s

(stop component)

Stop a component. Returns an updated component.

Stop a component. Returns an updated component.
source

stoppable?clj/s

(stoppable? x)

Predicate for testing whether x satisfies the Stoppable protocol.

Predicate for testing whether `x` satisfies the Stoppable protocol.
sourceraw docstring

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

× close