ring

tomerweller 2017-06-09T02:03:54.397165Z

I know that this is not a compojure channel, still - Can compojure work with Ring’s new async handlers?

seancorfield 2017-06-09T02:25:53.561335Z

@tomerweller Based on this code, yes: https://github.com/weavejester/compojure/blob/master/src/compojure/core.clj#L193

tomerweller 2017-06-09T04:26:12.350361Z

@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?

tomerweller 2017-06-09T04:29:20.369674Z

Shit. It’s :async? with a question mark. missed that.