Skip to content

clojure.core.async/pipe

View this page on ClojureDocs

Type: function Added: Clojure unknown Examples: 3 Runnable: 0
([from to] [from to close?])

Takes elements from the from channel and supplies them to the to channel. By default, the to channel will be closed when the from channel closes, but can be determined by the close? parameter. Will stop consuming the from channel if the to channel closes

Examples

by runexec on . May have evaluation errors.
by beoliver on . May have evaluation errors.
by ferdinand-beyer on . May have evaluation errors.

Note by jayzawrotny

Returns the to channel argument.


Content from the matching ClojureDocs page, with authors credited on each contribution.