Liking cljdoc? Tell your friends :D

piped.utils

Utility functions.

Utility functions.
raw docstring

anomaly?clj

(anomaly? response)
source

averageclj

(average & args)
source

average+clj

(average+ & args)
source

average-clj

(average- & args)
source

backoff-seqclj

(backoff-seq max)

Returns an infinite seq of exponential back-off timeouts with random jitter.

Returns an infinite seq of exponential back-off timeouts with random jitter.
sourceraw docstring

channel?clj

(channel? c)
source

clampclj

(clamp start end x)
source

deadline-batchingclj

(deadline-batching chan max key-fn)

Batches messages from chan and emits the most recently accumulated batch whenever the max batch size is reached or one of the messages in the batch has become 'due' for action. key-fn is a function of a message that returns a channel that closes when the message is 'due'

Batches messages from chan and emits the most recently accumulated batch whenever
the max batch size is reached or one of the messages in the batch has become 'due'
for action. key-fn is a function of a message that returns a channel that closes when
the message is 'due'
sourceraw docstring

deadline-safety-bufferclj

source

defmulti*cljmacro

(defmulti* symbol dispatch-fn)

Like clojure.core/defmulti, but actually updates the dispatch value when you reload it.

Like clojure.core/defmulti, but actually updates the dispatch value when you reload it.
sourceraw docstring

dev-nullclj

(dev-null)
source

distinct-byclj

(distinct-by f)
(distinct-by f coll)

Like distinct but according to a key-fn instead of the element itself.

Like distinct but according to a key-fn instead of the element itself.
sourceraw docstring

interval-batchingclj

(interval-batching chan msecs)
(interval-batching chan msecs max)

Partitions the original chan by non-empty time intervals.

Partitions the original chan by non-empty time intervals.
sourceraw docstring

maximum-messages-receivedclj

source

maximum-wait-time-secondsclj

source

message->deadlineclj

(message->deadline message)
source

message->queue-urlclj

(message->queue-url message)
source

message->timeoutclj

(message->timeout message)
source

minimum-messages-receivedclj

source

minimum-wait-time-secondsclj

source

on-chan-closecljmacro

(on-chan-close chan & body)

Execute body when the channel is closed. This is immediate upon channel closing and occurs on the same thread that closed chan.

Execute body when the channel is closed. This is immediate upon
channel closing and occurs on the same thread that closed chan.
sourceraw docstring

visibility-timeout-secondsclj

source

with-deadlineclj

(with-deadline message duration)
source

with-timeoutclj

(with-timeout message timeout)
source

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

× close