Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Clojure Adaptor for RxJava

This adaptor allows 'fn' functions to be used and RxJava will know how to invoke them.

This enables code such as:

(-> 
  (Observable/toObservable ["one" "two" "three"])
  (.take 2) 
  (.subscribe (fn [arg] (println arg))))

This still dependes on Clojure using Java interop against the Java API.

A future goal is a Clojure wrapper to expose the functions in a more idiomatic way.

Binaries

Binaries and dependency information for Maven, Ivy, Gradle and others can be found at http://search.maven.org.

Example for Maven:

<dependency>
    <groupId>com.netflix.rxjava</groupId>
    <artifactId>rxjava-clojure</artifactId>
    <version>x.y.z</version>
</dependency>

and for Ivy:

<dependency org="com.netflix.rxjava" name="rxjava-clojure" rev="x.y.z" />

and for Leiningen:

[com.netflix.rxjava/rxjava-clojure "x.y.z"]