Liking cljdoc? Tell your friends :D

com.timezynk.useful.nsq


create-message-handlerclj

(create-message-handler f)

Turns function f into a Java object which implements MessageHandler.

Turns function f into a Java object which implements MessageHandler.
raw docstring

create-publish-apiclj

(create-publish-api servers config)

Creates a com.sproutsocial.nsq.Publisher object.

Creates a com.sproutsocial.nsq.Publisher object.
raw docstring

create-subscribe-apiclj

(create-subscribe-api lookup-server config)

Creates a com.sproutsocial.nsq.Subscriber object.

Creates a com.sproutsocial.nsq.Subscriber object.
raw docstring

publishclj

(publish api topic message)

Asynchronously serializes and publishes message on topic through api. Returns the operation wrapped in a future.

Asynchronously serializes and publishes message on topic through api.
Returns the operation wrapped in a future.
raw docstring

subscribeclj

(subscribe api topic channel f)

Idempotently subscribes f to topic on channel through api. f must take two string arguments: topic and message.

Idempotently subscribes f to topic on channel through api.
f must take two string arguments: topic and message.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close