Liking cljdoc? Tell your friends :D

com.timezynk.bus.core


Buscljprotocol

Abstraction for media which transfer messages to subscribers. Subscription is done by declaring interest in a topic. Topics get published on the bus, which routes them to eligible subscribers.

Abstraction for media which transfer messages to subscribers.
Subscription is done by declaring interest in a topic.
Topics get published on the bus, which routes them to eligible subscribers.

destroyclj

(destroy this)

Releases all associated resources.

Releases all associated resources.

eligible-forclj

(eligible-for bus topic collection)

Sequence of subscribers eligible for topic on collection.

Sequence of subscribers eligible for `topic` on `collection`.

initializeclj

(initialize this)
(initialize this num-workers)
(initialize this num-workers params)

Acquires all associated resources.

Acquires all associated resources.

lengthclj

(length this)

Number of enqueued messages.

Number of enqueued messages.

publishclj

(publish this context topic collection messages)

Puts messages on the bus.

Puts `messages` on the bus.

subscribeclj

(subscribe this topic collection subscriber)

Registers subscriber for topic on collection.

Registers `subscriber` for `topic` on `collection`.

unsubscribe-allclj

(unsubscribe-all this)

Unregisters all subscribers.

Unregisters all subscribers.
raw docstring

createclj

(create group)

wait-forclj

(wait-for timeout-ms reply-channel)

Awaits responses on reply-channel. Returns false on timeout. Throws the caught exception on error. Returns true otherwise.

Awaits responses on `reply-channel`.
Returns `false` on timeout.
Throws the caught exception on error.
Returns `true` otherwise.
raw 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