hive.olympus IAddon: polls the roster, renders the canonical grid as panels, and delivers the delta to every presenter registered on its seat.
Config (manifest :addon/config merged with runtime config): :olympus/refresh-ms poll period in ms (default 2000; <= 0 disables the loop) :olympus/roster-fn 0-arity fn -> seq of Agent, or a qualified symbol naming one (default: the live swarm adapter) :olympus/linger-ms how long the live adapter keeps an agent that left the swarm, showing how it ended (default 120000; 0 off)
Hooks (active only): :olympus/register-presenter! (fn [id target]) -> id | nil :olympus/unregister-presenter! (fn [id]) -> id | nil :olympus/state (fn []) -> OlympusState :olympus/model (fn []) -> GridModel :olympus/panels (fn []) -> current :ui/show-panel ops :olympus/presenters (fn []) -> presenter id -> delivery status :olympus/refresh! (fn []) -> presenter status map :olympus/focus! (fn [agent-id-or-nil]) -> OlympusState :olympus/next-tab! (fn []) -> OlympusState :olympus/prev-tab! (fn []) -> OlympusState
hive.olympus IAddon: polls the roster, renders the canonical grid as panels,
and delivers the delta to every presenter registered on its seat.
Config (manifest :addon/config merged with runtime config):
:olympus/refresh-ms poll period in ms (default 2000; <= 0 disables the loop)
:olympus/roster-fn 0-arity fn -> seq of Agent, or a qualified symbol
naming one (default: the live swarm adapter)
:olympus/linger-ms how long the live adapter keeps an agent that left
the swarm, showing how it ended (default 120000; 0 off)
Hooks (active only):
:olympus/register-presenter! (fn [id target]) -> id | nil
:olympus/unregister-presenter! (fn [id]) -> id | nil
:olympus/state (fn []) -> OlympusState
:olympus/model (fn []) -> GridModel
:olympus/panels (fn []) -> current :ui/show-panel ops
:olympus/presenters (fn []) -> presenter id -> delivery status
:olympus/refresh! (fn []) -> presenter status map
:olympus/focus! (fn [agent-id-or-nil]) -> OlympusState
:olympus/next-tab! (fn []) -> OlympusState
:olympus/prev-tab! (fn []) -> OlympusState(addon-ctor config)Pure constructor resolved from the mount manifest.
Pure constructor resolved from the mount manifest.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |