(add-peer state receiver new-peer existing-peer)
Adds a new peer to the list of peers of an existing peer. Only the local peers receive announcement messages
Adds a new peer to the list of peers of an existing peer. Only the local peers receive announcement messages
(handle-error state source request)
Handles an error that is coming as a response to either an invocation on subscription.
Returns [<new state> <messages>]
Handles an error that is coming as a response to either an invocation on subscription. Returns [<new state> <messages>]
(remove-peer state peer reason)
Peer is leaving the domain.
Updates the state and generates messages for the peer and its registered methods being removed
Peer is leaving the domain. Updates the state and generates messages for the peer and its registered methods being removed
(source-removed state source _)
Source has disconnected from the system
Source has disconnected from the system
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close