(auto-closing-chan)
Returns a channel which will closes after getting an element.
Returns a channel which will closes after getting an element.
(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.
(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.
(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.
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close