News for hackers. Stuff that matters.
Re:Clojure core.async Channels by swannodette on Friday June 28, 2013 @05:11PM (#5960364)
Yes I'm pretty sure selective receive is not supported.
Re:Clojure core.async Channels by pron on Friday June 28, 2013 @06:12PM (#5960584)
Re:Clojure core.async Channels by snprbob86 on Saturday June 29, 2013 @04:51PM (#5963694)
You can mimic selective receive using a router process. Essentially, you could generate one channel for every branch of the pattern match, then generate a process which reads from the input channel and deals the message to the appropriate branching channel.