Publisher protocol
Publisher protocol
(agent-buffer this)
Returns the agent-buffer where items are sent to, basically your inbox.
Returns the agent-buffer where items are sent to, basically your inbox.
(publish this buffer)
publishes the items in the buffer and returns the new state of the buffer which presumably doesn't contains the messages successfully sent.
publishes the items in the buffer and returns the new state of the buffer which presumably doesn't contains the messages successfully sent.
(publish-delay this)
The number of milliseconds between two calls to publish
function.
return nil
if you don't want μ/log call the publish
function
The number of milliseconds between two calls to `publish` function. return `nil` if you don't want μ/log call the `publish` function
Creates a publisher of the give :type
.
Creates a publisher of the give `:type`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close