An adapter for converting Core.Async channels into Manifold-cljs streams.
Clojurescript projects can't have optional dependencies, so this module exists on its own.
Add the following dependency to your project.clj or build.boot:
[manifold-cljs.core.async "0.1.6-0"]
Then use it in your project:
(ns example.project
(:require [manifold-cljs.stream :as s]
[clojure.core.async :as a]))
(def chan (a/chan))
(def source-stream (s/->source chan))
(def sink-stream (s/->sink chan))
Copyright © 2016 Zach Tellman, Vadim Platonov
Distributed under the MIT License.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close