Skip to content

Instantly share code, notes, and snippets.

View guilherme-teodoro's full-sized avatar

Guilherme Teodoro guilherme-teodoro

View GitHub Profile
@guilherme-teodoro
guilherme-teodoro / pipeline.clj
Created September 9, 2016 14:46 — forked from JacobNinja/pipeline.clj
Clojure core.async pipeline example
(require '[clojure.core.async :as async]
'[clj-http.client :as client]
'[clojure.data.json :as json])
(def concurrency 5)
(let [in (async/chan)
out (async/chan)
request-handler (fn [url out*]
(async/go