ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

sub

  • (sub p topic ch)
  • (sub 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.