Liking cljdoc? Tell your friends :D

com.climate.squeedo.async-util


auto-closing-chanclj

(auto-closing-chan)

Returns a channel which will closes after getting an element.

Returns a channel which will closes after getting an element.
sourceraw docstring

close-on-close!clj

(close-on-close! watch-ch ch-to-close)

Close ch-to-close once watch-ch is closed.

Close `ch-to-close` once `watch-ch` is closed.
sourceraw docstring

onto-chan-ret!clj

(onto-chan-ret! ch coll)

like core.async/onto-chan! except that a) not closing ch and b) value of returning channel is true unless ch is already closed.

like core.async/onto-chan! except that
a) not closing ch and
b) value of returning channel is true unless ch is already closed.
sourceraw docstring

pipesclj

(pipes from-ch-ch to-ch)

Takes elements from the a channel taken from from-ch-ch channel and supplies them to the to-ch channel. to-ch channel will be closed when the from-ch-ch channel closes and all channels taken from it also close.

Takes elements from the a channel taken from `from-ch-ch` channel and supplies them to the `to-ch` channel.
`to-ch` channel will be closed when the `from-ch-ch` channel closes and all channels taken from it also close.
sourceraw docstring

wait-all-closeclj

(wait-all-close chans)

Returns a channel that closes when all the given channels have closed. This function consumes all channels in chans.

Returns a channel that closes when all the given channels have closed.
This function consumes all channels in `chans`.
sourceraw docstring

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

× close