Liking cljdoc? Tell your friends :D

hive-tmux.observe.ingest

Joins a hook arrival to the registry and the event system.

Effects arrive as an injected map (:registry :deregister! :dispatch!) rather than as direct calls on hive-tmux.state and hive-events, so the whole arrival path is exercised against recording fns.

Joins a hook arrival to the registry and the event system.

Effects arrive as an injected map (`:registry` `:deregister!` `:dispatch!`)
rather than as direct calls on `hive-tmux.state` and `hive-events`, so the
whole arrival path is exercised against recording fns.
raw docstring

default-portsclj

(default-ports)

The production effects: the live pane registry and the event system.

The production effects: the live pane registry and the event system.
sourceraw docstring

dispatch-fnclj

(dispatch-fn ports)

The listener dispatch! for PORTS.

Never throws: the listener's accept loop must survive a handler fault, and an arrival that cannot be reconciled is a logged event rather than a dead ingestion path.

The listener `dispatch!` for PORTS.

Never throws: the listener's accept loop must survive a handler fault, and
an arrival that cannot be reconciled is a logged event rather than a dead
ingestion path.
sourceraw docstring

handleclj

(handle {:keys [registry deregister! dispatch!]} event)

Apply one hook EVENT through PORTS. Returns the plan that was carried out.

The registry action runs before the event dispatch so a handler reading the registry sees it already reconciled: an externally-killed pane must not still be registered while its own death event is being handled.

Apply one hook EVENT through PORTS. Returns the plan that was carried out.

The registry action runs before the event dispatch so a handler reading the
registry sees it already reconciled: an externally-killed pane must not
still be registered while its own death event is being handled.
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