Liking cljdoc? Tell your friends :D

com.timezynk.useful.channel


Channelcljprotocol

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

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

initializeclj

(initialize this)

publishclj

(publish this context topic collection messages)

Puts messages on the channel.

Puts `messages` on the channel.

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 is a website building & hosting documentation for Clojure/Script libraries

× close