| Package | Description |
|---|---|
| rx |
Base reactive classes: Observable, Single and Completable; base reactive consumers;
other common base interfaces.
|
| rx.plugins |
Callback types and a central plugin handler class to hook into the lifecycle
of the base reactive types and schedulers.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Single<T> |
Single.create(Single.OnSubscribe<T> f)
Returns a Single that will execute the specified function when a
SingleSubscriber executes it or
a Subscriber subscribes to it. |
| Constructor and Description |
|---|
Single(Single.OnSubscribe<T> f)
Creates a Single with a Function to execute when it is subscribed to (executed).
|
| Modifier and Type | Method and Description |
|---|---|
<T> Single.OnSubscribe<T> |
RxJavaSingleExecutionHook.onCreate(Single.OnSubscribe<T> f)
Deprecated.
|
static <T> Single.OnSubscribe<T> |
RxJavaHooks.onCreate(Single.OnSubscribe<T> onSubscribe)
Hook to call when a Single is created.
|
| Modifier and Type | Method and Description |
|---|---|
static Func1<Single.OnSubscribe,Single.OnSubscribe> |
RxJavaHooks.getOnSingleCreate()
Returns the current Single onCreate hook function or null if it is
set to the default pass-through.
|
static Func1<Single.OnSubscribe,Single.OnSubscribe> |
RxJavaHooks.getOnSingleCreate()
Returns the current Single onCreate hook function or null if it is
set to the default pass-through.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Single.OnSubscribe<T> |
RxJavaSingleExecutionHook.onCreate(Single.OnSubscribe<T> f)
Deprecated.
|
static <T> Single.OnSubscribe<T> |
RxJavaHooks.onCreate(Single.OnSubscribe<T> onSubscribe)
Hook to call when a Single is created.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RxJavaHooks.setOnSingleCreate(Func1<Single.OnSubscribe,Single.OnSubscribe> onSingleCreate)
Sets the Single onCreate hook function unless a lockdown is in effect.
|
static void |
RxJavaHooks.setOnSingleCreate(Func1<Single.OnSubscribe,Single.OnSubscribe> onSingleCreate)
Sets the Single onCreate hook function unless a lockdown is in effect.
|
Copyright © 2025. All rights reserved.