RxJava



Package rx

Rx Observables

See:
          Description

Interface Summary
Observable.OnSubscribeFunc<T> Function interface for work to be performed when an Observable is subscribed to via Observable.subscribe(Observer)
Observer<T> Provides a mechanism for receiving push-based notifications.
Subscription Subscription returns from Observable.subscribe(Observer) to allow unsubscribing.
 

Class Summary
Notification<T> An object representing a notification sent to an Observable.
Observable<T> The Observable interface that implements the Reactive Pattern.
Scheduler Represents an object that schedules units of work.
 

Enum Summary
Notification.Kind  
 

Package rx Description

Rx Observables

A library that enables subscribing to and composing asynchronous events and callbacks.

The Observable/Observer interfaces and associated operators (in the .operations package) are inspired by and attempt to conform to the Reactive Rx library in Microsoft .Net.

More information can be found at http://msdn.microsoft.com/en-us/data/gg577609.

Compared with the Microsoft implementation:

Services which intend on exposing data asynchronously and wish to allow reactive processing and composition can implement the Observable interface which then allows Observers to subscribe to them and receive events.

Usage examples can be found on the Observable and Observer classes.