core.async - question about close!

248 views
Skip to first unread message

Mark Engelberg

unread,
Jul 1, 2013, 2:43:02 AM7/1/13
to clojure
Is close! merely a convenience function to ensure that future puts to a channel will not be permitted, or is it essential to close! a channel so that it will be garbage collected?

Brandon Bloom

unread,
Jul 1, 2013, 10:48:06 AM7/1/13
to clo...@googlegroups.com
close! is a control signal from producer to consumers. It's how you say "Nothing else follows". It is not necessary for garbage collection. 
Reply all
Reply to author
Forward
0 new messages