RxJava2 Flashcards
Flowable
The Flowable class that implements the Reactive-Streams Pattern (Publisher) and offers factory methods, intermediate operators and the ability to consume reactive dataflows.
Observable
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
Subject
Represents an Observer and an Observable at the same time, allowing multicasting events from a single source to multiple child Observers.
Observer
Provides a mechanism for receiving push-based notifications.
Disposable
Represents a disposable resource.
Processor
A Processor represents a processing stage—which is both a Subscriber and a Publisher and obeys the contracts of both. (Like Subject, but conforming to the Reactive Streams spec it has backpressure support)
ParallelFlowable
Abstract base class for Parallel publishers that take an array of Subscribers.
Completable
Represents a deferred computation without any value but only indication for completion or error (onSubscribe, onComplete and onError).
Similar to Single, but does not return any value.
RxJavaPlugins
Utility class to inject handlers to certain standard RxJava operations.
Single
Observable which returns single result or error and then finishes (onSuccess and onError)
Maybe
It is a union of Single and Completable providing the means to capture an emission pattern where there could be 0 or 1 item or an error signalled by some reactive source.
ObservableSource
Basic interface, inherited by Observable class.
Has only one subscribe(Observer super T> observer) function.