Skip to content

rcunn87/RxGroovy

 
 

Repository files navigation

RxGroovy: Reactive Extensions for Groovy

This is a Groovy adapter to RxJava.

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

This enables code such as:

  Observable.just("one", "two", "three")
    .take(2) 
    .subscribe({arg -> println(arg)})

Master Build Status

Communication

Since RxGroovy is part of the RxJava family the communication channels are similar:

Versioning

RxGroovy 0.x is based on RxJava 0.x. RxGroovy 1.0 will be released when RxJava 1.0 is released.

As of 1.0.0 semantic versioning will be used.

Full Documentation

RxJava:

Binaries

For version 0.x:

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-groovy</artifactId>
    <version>x.y.z</version>
</dependency>

and for Ivy:

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

and for Gradle:

compile 'com.netflix.rxjava:rxjava-groovy:x.y.z'

Build

To build:

$ git clone [email protected]:ReactiveX/RxGroovy.git
$ cd RxGroovy/
$ ./RxGroovy build

Futher details on building can be found on the RxJava Getting Started page of the wiki.

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.

LICENSE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

RxJava bindings for Groovy

Resources

License

Stars

Watchers

Forks

Packages

No packages published