Permalink
Browse files

send -> emit

  • Loading branch information...
1 parent 29ff0b6 commit 00abce01b09dc330ded0ebf7b75392bfa26caff3 @mmcgrana committed Nov 7, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 ring-jetty-async-adapter/src/ring/adapter/jetty_async.clj
@@ -56,7 +56,7 @@
:http
(let [reactor (:reactor response-map)
ac (.startAsync request)
- send (fn [{:keys [type data]}]
+ emit (fn [{:keys [type data]}]
(case type
:status
(servlet/set-status (.getResponse ac) data)
@@ -68,7 +68,7 @@
(.flush writer))
:close
(.complete ac)))
- recv (reactor send)]
+ recv (reactor emit)]
(recv {:type :init}))
:websocket
(let [reactor (:reactor response-map)

0 comments on commit 00abce0

Please sign in to comment.