Liking cljdoc? Tell your friends :D

flowgraph


commixclj

(commix dest & {:as spec})

A *->1 spec that commixs data flow; i.e., the first source queue containing a ready item is polled for a value which is put into the destination. This is the opposite of duplicate. Accepts optional named values (along with appropriate supporting values): #{:coordinated? :priority}

A *->1 spec that commixs data flow; i.e., the first source queue
containing a ready item is polled for a value which is put into the destination.
This is the opposite of duplicate.
Accepts optional named values (along with appropriate supporting values):
#{:coordinated? :priority}
sourceraw docstring

deflowcljmacro

(deflow graph-name args edge-specs)
(deflow graph-name args edge-specs vertex-specs)
source

discriminateclj

(discriminate pred result->destination & {:as spec})

A 1->* spec that simply passes data to one of a number of destinations, determined by the result of calling predicate pred on each item. result->destination is expected to be a map from result-of-pred to destination name. Accepts optional named values (along with appropriate supporting values): #{:coordinated? :priority}

A 1->* spec that simply passes data to one of a number of destinations,
determined by the result of calling predicate pred on each item. result->destination
is expected to be a map from result-of-pred to destination name.
Accepts optional named values (along with appropriate supporting values):
#{:coordinated? :priority}
sourceraw docstring

duplicateclj

(duplicate dests & {:as spec})

A 1->* spec that duplicates data along every outgoing edge. Accepts optional named values (along with appropriate supporting values): #{:coordinated? :priority}

A 1->* spec that duplicates data along every outgoing edge.
Accepts optional named values (along with appropriate supporting values):
#{:coordinated? :priority}
sourceraw docstring

flowgraphclj

(flowgraph edge-specs)
(flowgraph graph-name edge-specs)
(flowgraph graph-name edge-specs vertex-specs)
(flowgraph graph-name edge-specs vertex-specs constructed-args)
(flowgraph graph-name edge-specs vertex-specs constructed-args num-threads)
source

fuseclj

(fuse dest & {:as spec})

A *->1 spec that fuses data from a multiplicity of sources: it places into the destination queue a vector containing the outputs of all input queues. Note that this does nothing until all input queues are ready to deliver an item. This means, among other things, that combination operations are always :coordinated? Accepts optional named values (along with appropriate supporting values): #{:priority}

A *->1 spec that fuses data from a multiplicity of sources: it places into
the destination queue a vector containing the outputs of all input queues. Note
that this does nothing until all input queues are ready to deliver an item. This
means, among other things, that combination operations are always :coordinated?
Accepts optional named values (along with appropriate supporting values):
#{:priority}
sourceraw docstring

shutdownclj

(shutdown this)
source

submitclj

(submit this stuff)

Returns a tessera

Returns a tessera
sourceraw docstring

transformclj

(transform f dest & {:as spec})

A 1->1 spec that transforms data by passing it through the function f. Accepts optional named values (along with appropriate supporting values): #{:batching? :asynchronous? :coordinated? :collecting? :priority}

A 1->1 spec that transforms data by passing it through the function f.
Accepts optional named values (along with appropriate supporting values):
#{:batching? :asynchronous? :coordinated? :collecting? :priority}
sourceraw docstring

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

× close