• (done? http-agnt)
Returns true if the HTTP request/response has completed.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/http/agent.clj:310 top

(defn done?
  "Returns true if the HTTP request/response has completed."
  [http-agnt]
  (if (#{::finished ::disconnected} (::state @http-agnt))
    true false))
Vars in clojure.contrib.http.agent/done?: defn deref
Used in 0 other vars

Comments top

No comments for done?. Log in to add a comment.