Skip to content

clojure.core.async/sub

View this page on ClojureDocs

Type: function Added: Clojure unknown Examples: 2 Runnable: 0
([p topic ch] [p topic ch close?])

Subscribes a channel to a topic of a pub.

By default the channel will be closed when the source closes, but can be determined by the close? parameter.

Examples

by runexec on . May have evaluation errors.
by milelo on . May have evaluation errors.

See also


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