This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-20
Channels
- # aatree (257)
- # admin-announcements (13)
- # beginners (3)
- # boot (327)
- # cider (2)
- # cljs-dev (1)
- # clojure (127)
- # clojure-art (72)
- # clojure-russia (273)
- # clojure-sg (1)
- # clojurescript (39)
- # cursive (8)
- # datomic (6)
- # editors (2)
- # emacs (4)
- # hoplon (261)
- # immutant (2)
- # ldnclj (15)
- # liberator (10)
- # luminus (1)
- # off-topic (8)
- # om (9)
- # parinfer (1)
- # re-frame (11)
- # reagent (2)
- # yada (9)
I think a better place for this questions would be https://groups.google.com/forum/#!forum/yada-discuss but I'll try to answer here
1. a core.async put! will return false if the channel is closed ─ but I need to test this to see if you can use it for knowing when the SSE connection is closed ─ I think it should work
2. yada does have interceptor chains like pedestal. Currently there is no built-in security, you have to add your own interceptor into the chain - right now this is done by mutating the resource map that you build up before passing it to yada to get the handler
3. testing is done in much the same way as any http service, look at yada's own tests for ideas
4. not sure, that looks like a bug, try (println (into {} ctx)) - does that work? A yada context is a record that is similar to a regular map
I have retrospectively labelled the -9 release 1.0.0, and released 1.1.0-SNAPSHOT. See yada's README for details. Given the API changes since -9 I thought it was better to have a new series, and support those on -9 - it has held up surprisingly well bar a few issues