This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-09
Channels
- # beginners (121)
- # boot (28)
- # cider (106)
- # clara (57)
- # cljs-dev (70)
- # cljsrn (6)
- # clojure (145)
- # clojure-dev (7)
- # clojure-italy (36)
- # clojure-russia (42)
- # clojure-spec (26)
- # clojure-uk (127)
- # clojurescript (103)
- # core-async (10)
- # cursive (56)
- # datascript (66)
- # datomic (16)
- # defnpodcast (1)
- # emacs (18)
- # events (6)
- # figwheel (1)
- # jobs (1)
- # luminus (1)
- # lumo (44)
- # off-topic (58)
- # om (17)
- # onyx (2)
- # parinfer (75)
- # pedestal (4)
- # re-frame (18)
- # ring (4)
- # ring-swagger (8)
- # rum (7)
- # spacemacs (7)
- # specter (2)
- # sql (4)
- # unrepl (39)
- # untangled (17)
- # vim (3)
- # yada (21)
I know that this is not a compojure
channel, still - Can compojure work with Ring’s new async handlers?
@tomerweller Based on this code, yes: https://github.com/weavejester/compojure/blob/master/src/compojure/core.clj#L193
@seancorfield Thanks. Looks like it supports it indeed. Still, I’m running the jetty ring adapter with :async true
but getting Wrong number of args (1) passed to: handler/async-root
when using a 3-arity handler. What can I be missing?
Shit. It’s :async?
with a question mark. missed that.