https://github.com/dm3/manifold-cljs.core.async
Core.Async stream adapter for Manifold-Cljs
https://github.com/dm3/manifold-cljs.core.async
Last synced: 8 months ago
JSON representation
Core.Async stream adapter for Manifold-Cljs
- Host: GitHub
- URL: https://github.com/dm3/manifold-cljs.core.async
- Owner: dm3
- License: mit
- Created: 2016-12-07T18:26:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-07T21:10:51.000Z (about 9 years ago)
- Last Synced: 2025-04-05T18:54:04.418Z (9 months ago)
- Language: Clojure
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# manifold-cljs/core.async
[](https://travis-ci.org/dm3/manifold-cljs.core.async)
An adapter for converting [Core.Async](https://github.com/clojure/core.async) channels into
[Manifold-cljs](https://github.com/dm3/manifold-cljs) streams.
Clojurescript projects can't have optional dependencies, so this module exists
on its own.
## Usage
Add the following dependency to your project.clj or build.boot:
```clojure
[manifold-cljs/core.async "0.1.6-0"]
```
Then use it in your project:
```clojure
(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))
```
## License
Copyright © 2016 Zach Tellman, Vadim Platonov
Distributed under the MIT License.