io.reactivex.Flowable , io.reactivex.Observable ,
io.reactivex.Single , io.reactivex.Maybe and
io.reactivex.Completable ; base reactive consumers;
other common base interfaces.
A library that enables subscribing to and composing asynchronous events and callbacks.
The Flowable/Subscriber, Observable/Observer, Single/SingleObserver and
Completable/CompletableObserver interfaces and associated operators (in
the io.reactivex.internal.operators package) are inspired by the
Reactive Rx library in Microsoft .NET but designed and implemented on
the more advanced Reactive Streams ( http://www.reactivestreams.org ) principles.
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
io., io., io.,
io. or io. class which then allow
consumers to subscribe to them and receive events.
Usage examples can be found on the io./io. and org. classes.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | CompletableConverter<
the output type R>Convenience interface and callback used by the |
| public interface | CompletableEmitter
Abstraction over an RxJava |
| public interface | CompletableObserver
Provides a mechanism for receiving push-based notification of a valueless completion or an error. |
| public interface | CompletableOnSubscribe
A functional interface that has a |
| public interface | CompletableOperator
Interface to map/wrap a downstream observer to an upstream observer. |
| public interface | CompletableSource
Represents a basic |
| public interface | CompletableTransformer
Convenience interface and callback used by the compose operator to turn a Completable into another Completable fluently. |
| public interface | Emitter<
the value type emitted T>Base interface for emitting signals in a push-fashion in various generator-like source operators (create, generate). |
| public interface | FlowableConverter<
the upstream type T, the output type R>Convenience interface and callback used by the |
| public interface | FlowableEmitter<
the value type to emit T>Abstraction over a Reactive Streams |
| public interface | FlowableOnSubscribe<
the value type pushed T>A functional interface that has a |
| public interface | FlowableOperator<
the value type of the downstream Downstream, the value type of the upstream Upstream>Interface to map/wrap a downstream subscriber to an upstream subscriber. |
| public interface | FlowableSubscriber<
the value type T>Represents a Reactive Streams inspired Subscriber that is RxJava 2 only and weakens rules §1.3 and §3.9 of the specification for gaining performance. |
| public interface | FlowableTransformer<
the upstream value type Upstream, the downstream value type Downstream>Interface to compose Flowables. |
| public interface | MaybeConverter<
the upstream type T, the output type R>Convenience interface and callback used by the |
| public interface | MaybeEmitter<
the value type to emit T>Abstraction over an RxJava |
| public interface | MaybeObserver<
the type of item the MaybeObserver expects to observe T>Provides a mechanism for receiving push-based notification of a single value, an error or completion without any value. |
| public interface | MaybeOnSubscribe<
the value type pushed T>A functional interface that has a |
| public interface | MaybeOperator<
the value type of the downstream Downstream, the value type of the upstream Upstream>Interface to map/wrap a downstream observer to an upstream observer. |
| public interface | MaybeSource<
the element type T>Represents a basic |
| public interface | MaybeTransformer<
the upstream value type Upstream, the downstream value type Downstream>Interface to compose Maybes. |
| public interface | ObservableConverter<
the upstream type T, the output type R>Convenience interface and callback used by the |
| public interface | ObservableEmitter<
the value type to emit T>Abstraction over an RxJava |
| public interface | ObservableOnSubscribe<
the value type pushed T>A functional interface that has a |
| public interface | ObservableOperator<
the value type of the downstream Downstream, the value type of the upstream Upstream>Interface to map/wrap a downstream observer to an upstream observer. |
| public interface | ObservableSource<
the element type T>Represents a basic, non-backpressured |
| public interface | ObservableTransformer<
the upstream value type Upstream, the downstream value type Downstream>Interface to compose Observables. |
| public interface | Observer<
the type of item the Observer expects to observe T>Provides a mechanism for receiving push-based notifications. |
| public interface | SingleConverter<
the upstream type T, the output type R>Convenience interface and callback used by the |
| public interface | SingleEmitter<
the value type to emit T>Abstraction over an RxJava |
| public interface | SingleObserver<
the type of item the SingleObserver expects to observe T>Provides a mechanism for receiving push-based notification of a single value or an error. |
| public interface | SingleOnSubscribe<
the value type pushed T>A functional interface that has a |
| public interface | SingleOperator<
the value type of the downstream Downstream, the value type of the upstream Upstream>Interface to map/wrap a downstream observer to an upstream observer. |
| public interface | SingleSource<
the element type T>Represents a basic |
| public interface | SingleTransformer<
the upstream value type Upstream, the downstream value type Downstream>Interface to compose Singles. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | Completable
The |
| public abstract class | Flowable<
the type of the items emitted by the Flowable T>The Flowable class that implements the Reactive Streams Pattern and offers factory methods, intermediate operators and the ability to consume reactive dataflows. |
| public abstract class | Maybe<
the value type T>The |
| public class | Notification<
the value type T>Represents the reactive signal types: onNext, onError and onComplete and holds their parameter values (a value, a Throwable, nothing). |
| public abstract class | Observable<
the type of the items emitted by the Observable T>The Observable class is the non-backpressured, optionally multi-valued base reactive class that offers factory methods, intermediate operators and the ability to consume synchronous and/or asynchronous reactive dataflows. |
| public abstract class | Scheduler
A |
| public abstract class | Single<
the type of the item emitted by the Single T>The |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | BackpressureOverflowStrategy
Options to deal with buffer overflow when using onBackpressureBuffer. |
| public enum | BackpressureStrategy
Represents the options for applying backpressure to a source sequence. |