Package | Description |
---|---|
rx |
Base reactive classes: Observable, Single and Completable; base reactive consumers;
other common base interfaces.
|
rx.exceptions |
Exception handling utilities, safe subscriber exception classes,
lifecycle exception classes.
|
Modifier and Type | Method and Description |
---|---|
Subscription |
Single.subscribe(SingleSubscriber<? super T> te)
Subscribes to a Single and provides a
SingleSubscriber that implements functions to handle the
item the Single emits or any error notification it issues. |
Modifier and Type | Method and Description |
---|---|
static void |
Exceptions.throwOrReport(Throwable throwable,
SingleSubscriber<?> subscriber)
Forwards a fatal exception or reports it to the given Observer.
|
Copyright © 2021. All rights reserved.