(matches-subscription? topic routing-key [_ subscription])
checks if given topic and routing key match an existing subscription
checks if given topic and routing key match an existing subscription
(matches-topic? {sub-topic :topic sub-pattern :topic-repattern} topic)
checks if sub-topic matches topic
checks if sub-topic matches topic
(publish* state request publisher)
distributes a message onto all matching subscribers
distributes a message onto all matching subscribers
(source-removed state source _)
Source has disconnected from the system
Source has disconnected from the system
(subscriptions->messages peer)
generates messages that applied on a remote node will join the peer to the bus domain and register its subscriptions
generates messages that applied on a remote node will join the peer to the bus domain and register its subscriptions
(zip-peer-subscriptions peers)
given a collection of peers, returns a [[peer subscription-a] [peer subscription-b]] where subscription-a and subscription-b are the topic subscriptions of the peer
given a collection of peers, returns a [[peer subscription-a] [peer subscription-b]] where subscription-a and subscription-b are the topic subscriptions of the peer
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close