| Package | Description |
|---|---|
| rx |
Rx Observables
|
| rx.functions | |
| rx.internal.operators |
Operators that allow composing Observables to transform and manipulate data in an asynchronous, functional and thread-safe manner.
|
| rx.internal.util | |
| rx.observables | |
| rx.observers |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Observable
Invoked when Obserable.subscribe is called.
|
| Modifier and Type | Method and Description |
|---|---|
Observable |
Observable.doOnEach(Action1
Modifies the source Observable so that it invokes an action for each item it emits.
|
Observable |
Observable.doOnError(Action1
Modifies the source Observable so that it invokes an action if it calls
onError.
|
Observable |
Observable.doOnNext(Action1
Modifies the source Observable so that it invokes an action when it calls
onNext.
|
void |
Observable.forEach(Action1
Subscribes to the
Observable and receives notifications for each element.
|
void |
Observable.forEach(Action1
Subscribes to the
Observable and receives notifications for each element and error events.
|
void |
Observable.forEach(Action1
Subscribes to the
Observable and receives notifications for each element and error events.
|
void |
Observable.forEach(Action1
Subscribes to the
Observable and receives notifications for each element and the terminal events.
|
void |
Observable.forEach(Action1
Subscribes to the
Observable and receives notifications for each element and the terminal events.
|
Subscription |
Observable.subscribe(Action1
Subscribes to an Observable and provides a callback to handle the items it emits.
|
Subscription |
Observable.subscribe(Action1
Subscribes to an Observable and provides callbacks to handle the items it emits and any error notification it issues.
|
Subscription |
Observable.subscribe(Action1
Subscribes to an Observable and provides callbacks to handle the items it emits and any error notification it issues.
|
Subscription |
Observable.subscribe(Action1
Subscribes to an Observable and provides callbacks to handle the items it emits and any error or completion notification it issues.
|
Subscription |
Observable.subscribe(Action1
Subscribes to an Observable and provides callbacks to handle the items it emits and any error or completion notification it issues.
|
static <T |
Observable.using(Func0
Constructs an Observable that creates a dependent resource object.
|
| Modifier and Type | Method and Description |
|---|---|
static <T0> FuncN |
Functions.fromAction(Action1
|
static <T1> Func1 |
Actions.toFunc(Action1
Converts an
Action1 to a function that calls the action and returns
null.
|
static <T1 |
Actions.toFunc(Action1
Converts an
Action1 to a function that calls the action and returns a specified value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OnSubscribeAmb<T>
Given multiple
Observables, propagates the one that first emits an item.
|
class |
OnSubscribeCache<T>
This method has similar behavior to
Observable except that this auto-subscribes to the source Observable rather than returning a connectable Observable.
|
class |
OnSubscribeCombineLatest<T
Returns an Observable that combines the emissions of multiple source observables.
|
class |
OnSubscribeDefer<T>
Do not create the Observable until an Observer subscribes; create a fresh Observable on each subscription.
|
class |
OnSubscribeDelaySubscription<T>
Delays the subscription to the source by the given amount, running on the given scheduler.
|
class |
OnSubscribeDelaySubscriptionWithSelector<T
Delays the subscription until the Observable emits an event.
|
class |
OnSubscribeFromIterable<T>
Converts an
Iterable sequence into an
Observable.
|
class |
OnSubscribeGroupJoin<T1
Corrrelates two sequences when they overlap and groups the results.
|
class |
OnSubscribeJoin<TLeft
Correlates the elements of two sequences based on overlapping durations.
|
class |
OnSubscribeMulticastSelector<TInput
Returns an observable sequence that contains the elements of a sequence produced by multicasting the source sequence within a selector function.
|
class |
OnSubscribeRange
Emit ints from start to end inclusive.
|
class |
OnSubscribeRedo<T>
|
class |
OnSubscribeRefCount<T>
Returns an observable sequence that stays connected to the source as long as there is at least one subscription to the observable sequence.
|
class |
OnSubscribeTimerOnce
Timer that emits a single 0L and completes after the specified time.
|
class |
OnSubscribeTimerPeriodically
Emit 0L after the initial period and ever increasing number after each period.
|
class |
OnSubscribeUsing<T
Constructs an observable sequence that depends on a resource object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OperatorPublish.connect(Action1
|
void |
OperatorMulticast.connect(Action1
|
| Constructor and Description | |
|---|---|
OnSubscribeUsing(Func0
|
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionRandomList.forEach(Action1
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ConnectableObservable.connect(Action1
Instructs the
ConnectableObservable to begin emitting the items from its underlying
Observable to its
Subscribers.
|
void |
BlockingObservable.forEach(Action1
Invokes a method on each item emitted by this
BlockingObservable and blocks until the Observable completes.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Subscriber |
Subscribers.create(Action1
Creates a
Subscriber that receives the emissions of any
Observable it subscribes to via
onNext but ignores
onError and
onCompleted notifications.
|
static <T> Observer |
Observers.create(Action1
Creates an
Observer that receives the emissions of any
Observable it subscribes to via
onNext but ignores
onCompleted notifications; it will throw an
OnErrorNotImplementedException if
onError is invoked.
|
static <T> Subscriber |
Subscribers.create(Action1
Creates an
Subscriber that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError notification but ignores an
onCompleted notification.
|
static <T> Subscriber |
Subscribers.create(Action1
Creates an
Subscriber that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError notification but ignores an
onCompleted notification.
|
static <T> Observer |
Observers.create(Action1
Creates an
Observer that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError notification but ignores an
onCompleted notification.
|
static <T> Observer |
Observers.create(Action1
Creates an
Observer that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError notification but ignores an
onCompleted notification.
|
static <T> Subscriber |
Subscribers.create(Action1
Creates an
Subscriber that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError or
onCompleted notifications.
|
static <T> Subscriber |
Subscribers.create(Action1
Creates an
Subscriber that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError or
onCompleted notifications.
|
static <T> Observer |
Observers.create(Action1
Creates an
Observer that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError or
onCompleted notifications.
|
static <T> Observer |
Observers.create(Action1
Creates an
Observer that receives the emissions of any
Observable it subscribes to via
onNext and handles any
onError or
onCompleted notifications.
|