This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-24
Channels
- # admin-announcements (21)
- # announcements (1)
- # beginners (36)
- # boot (48)
- # cider (21)
- # clojure (61)
- # clojure-italy (4)
- # clojure-japan (5)
- # clojure-norway (2)
- # clojure-russia (2)
- # clojure-sg (2)
- # clojure-uk (3)
- # clojurescript (33)
- # core-async (5)
- # core-typed (1)
- # cursive (13)
- # datomic (34)
- # devops (38)
- # editors (24)
- # events (10)
- # ldnclj (14)
- # off-topic (31)
- # onyx (4)
- # re-frame (84)
Does anyone have any examples of using alt!
with :priority
?
@danielcompton: This is where I go for examples: https://github.com/search?l=Clojure&q=async+alt%21+%3Apriority+language%3AClojure&ref=advsearch&type=Code&utf8=%E2%9C%93
I have a couple: https://github.com/dball/valves/blob/master/src/dball/valves.clj#L24 and https://github.com/dball/valves/blob/master/src/dball/valves.clj#L89
Unclear if they really provide value in these cases, but there are cases in production code where we prefer to read e.g. from a control channel over an input channel
Thanks!