Ha, Rich announced "offer!" and "poll!" in today's keynote.
http://youtu.be/4KqUvG8HPYo
I'm totally going to use
(while (poll! my-channel))
unless we also get something like drainTo, as you mention.
(The problem with a (go ...) block is that I can't promise my caller than
the channel is now r
Your argument makes sense, Javascript's limitation on blocking doesn't
apply when wanting to read only available elements.
I see little chance to have alt!! added to the cljs port, if it would need
a mandatory :default arm there. Also, as Thomas noted, putting the recur
into the :default would make
ClojureScript's core.async doesn't include blocking functions like alts!!
and http://groups.google.com/group/clojurescript.