Liking cljdoc? Tell your friends :D

hive-olympus.changes

Push source for roster changes, so the grid repaints when the swarm changes instead of on a fixed poll.

The host's swarm store announces slave-row changes through a subscribe fn resolved by symbol, never required: when it is absent the caller keeps polling at its configured period.

Push source for roster changes, so the grid repaints when the swarm
changes instead of on a fixed poll.

The host's swarm store announces slave-row changes through a subscribe
fn resolved by symbol, never required: when it is absent the caller keeps
polling at its configured period.
raw docstring

debounce-msclj

How long a pushed change waits before the repaint, so a burst of swarm transactions costs one refresh.

How long a pushed change waits before the repaint, so a burst of swarm
transactions costs one refresh.
sourceraw docstring

default-idle-refresh-msclj

Tick period while change pushes drive the repaints. It only keeps time-based text current: ages, lingering exits, staleness.

Tick period while change pushes drive the repaints. It only keeps
time-based text current: ages, lingering exits, staleness.
sourceraw docstring

subscribe!clj

(subscribe! key on-change)
(subscribe! key on-change resolve)

Subscribe ON-CHANGE (no args) under KEY to the host's slave changes. RESOLVE is (fn [sym] -> fn or nil), default a guarded requiring-resolve. Returns a 0-arity close fn, or nil when the host offers no push source.

Subscribe ON-CHANGE (no args) under KEY to the host's slave changes.
RESOLVE is (fn [sym] -> fn or nil), default a guarded `requiring-resolve`.
Returns a 0-arity close fn, or nil when the host offers no push source.
sourceraw docstring

subscribe-sourceclj

Qualified symbol of the host's (fn [key on-change]) slave-change subscription.

Qualified symbol of the host's (fn [key on-change]) slave-change subscription.
sourceraw docstring

tick-msclj

(tick-ms config pushed? poll-ms)

Refresh period from CONFIG: the idle period when PUSHED?, else the poll period POLL-MS.

Refresh period from CONFIG: the idle period when PUSHED?, else the poll
period POLL-MS.
sourceraw docstring

unsubscribe-sourceclj

Qualified symbol of the matching (fn [key]) unsubscribe.

Qualified symbol of the matching (fn [key]) unsubscribe.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close