Permalink
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 208 Bytes
(ns sample
(:require [http.async.client :as c]))
(with-client {}
(let [r (c/GET "http://example.com/")]
(println "done?" (c/done? r))
(c/await r)
(println "done?" (c/done? r))
(c/string r)))