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 Completable |
Completable.create(Completable.CompletableOnSubscribe onSubscribe)
Constructs a Completable instance by wrapping the given onSubscribe callback.
|
Constructor and Description |
---|
Completable(Completable.CompletableOnSubscribe onSubscribe)
Constructs a Completable instance with the given onSubscribe callback.
|
Modifier and Type | Method and Description |
---|---|
static <T> Completable.CompletableOnSubscribe |
RxJavaHooks.onCompletableStart(Completable instance,
Completable.CompletableOnSubscribe onSubscribe)
Hook to call before the child subscriber is subscribed to the OnSubscribe action.
|
Completable.CompletableOnSubscribe |
RxJavaCompletableExecutionHook.onCreate(Completable.CompletableOnSubscribe f)
Deprecated.
|
static Completable.CompletableOnSubscribe |
RxJavaHooks.onCreate(Completable.CompletableOnSubscribe onSubscribe)
Hook to call when a Completable is created.
|
Completable.CompletableOnSubscribe |
RxJavaCompletableExecutionHook.onSubscribeStart(Completable completableInstance,
Completable.CompletableOnSubscribe onSubscribe)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Func1<Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> |
RxJavaHooks.getOnCompletableCreate()
Returns the current Completable onCreate hook function or null if it is
set to the default pass-through.
|
static Func1<Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> |
RxJavaHooks.getOnCompletableCreate()
Returns the current Completable onCreate hook function or null if it is
set to the default pass-through.
|
static Func2<Completable,Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> |
RxJavaHooks.getOnCompletableStart()
Returns the current Completable onStart hook function or null if it is
set to the default pass-through.
|
static Func2<Completable,Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> |
RxJavaHooks.getOnCompletableStart()
Returns the current Completable onStart hook function or null if it is
set to the default pass-through.
|
Modifier and Type | Method and Description |
---|---|
static <T> Completable.CompletableOnSubscribe |
RxJavaHooks.onCompletableStart(Completable instance,
Completable.CompletableOnSubscribe onSubscribe)
Hook to call before the child subscriber is subscribed to the OnSubscribe action.
|
Completable.CompletableOnSubscribe |
RxJavaCompletableExecutionHook.onCreate(Completable.CompletableOnSubscribe f)
Deprecated.
|
static Completable.CompletableOnSubscribe |
RxJavaHooks.onCreate(Completable.CompletableOnSubscribe onSubscribe)
Hook to call when a Completable is created.
|
Completable.CompletableOnSubscribe |
RxJavaCompletableExecutionHook.onSubscribeStart(Completable completableInstance,
Completable.CompletableOnSubscribe onSubscribe)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
RxJavaHooks.setOnCompletableCreate(Func1<Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> onCompletableCreate)
Sets the Completable's onCreate hook function unless a lockdown is in effect.
|
static void |
RxJavaHooks.setOnCompletableCreate(Func1<Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> onCompletableCreate)
Sets the Completable's onCreate hook function unless a lockdown is in effect.
|
static void |
RxJavaHooks.setOnCompletableStart(Func2<Completable,Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> onCompletableStart)
Sets the hook function that is called when a subscriber subscribes to a Completable
unless a lockdown is in effect.
|
static void |
RxJavaHooks.setOnCompletableStart(Func2<Completable,Completable.CompletableOnSubscribe,Completable.CompletableOnSubscribe> onCompletableStart)
Sets the hook function that is called when a subscriber subscribes to a Completable
unless a lockdown is in effect.
|
Copyright © 2022. All rights reserved.