Liking cljdoc? Tell your friends :D

flowgraph.protocols


*thread-capacity*clj

source

Flowcljprotocol

shutdownclj

(shutdown this)

submitclj

(submit this stuff)

Returns a tessera

Returns a tessera
source

GuardedQueuecljprotocol

peekclj

(peek _)

Peek at the next raw item in the underlying queue. Be careful -- this doesn't behave analogously to pop.

Peek at the next raw item in the underlying queue. Be careful -- this doesn't behave analogously to pop.

raw-sizeclj

(raw-size _)

Returns the number of raw things in the queue...regardless of batching semantics

Returns the number of raw things in the queue...regardless of batching semantics

push-deferred-batchclj

(push-deferred-batch _ guard deferred-batch)

Pushes into the queue a deferred item that represents a batch of results.

Pushes into the queue a deferred item that represents a batch of results.

ready?clj

(ready? _)

Ready to spit out an item at least if forced.

Ready to spit out an item at least if forced.

push-batchclj

(push-batch _ guard batch)

Pushes a batch of regular values into the queue.

Pushes a batch of regular values into the queue.

pushclj

(push _ guard item)

Pushes a regular value into the queue.

Pushes a regular value into the queue.

popclj

(pop _ guard)
(pop _ guard force?)

Requests item from queue. If force? is true, this yields items the queue might otherwise wish to hold on to.

Requests item from queue. If force? is true, this yields items the queue might otherwise wish to hold on to.

drainclj

(drain _ guard)

Returns a sequence of all the items from this queue.

Returns a sequence of all the items from this queue.

set-guard!clj

(set-guard! _ guard)

Sets the guard and empties the queue. Operations performed with any other guard will fail silently (what could possibly go wrong?).

Sets the guard and empties the queue. Operations performed with any other guard will fail silently (what could possibly go wrong?).

push-deferredclj

(push-deferred _ guard deferred-item)

Pushes a deferred item into the queue.

Pushes a deferred item into the queue.
source

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

× close