system

Start and stop services in a particular order.

->map

(->map x)
Convert a SystemMap into a hash map.

->SystemMap

(->SystemMap kv-pairs)
Create a new system map.

defsystem

macro

(defsystem n & args)
Define a system. Takes a sequence of key/value pairs.

pairs

(pairs x)
Convert a SystemMap into a vector of vector pairs.

Service

protocol

members

start

(start this config)(start this config deps)
Start a service with the given config and deps.

stop

(stop this)(stop this config)
Stop a service, optionally passing a config.