Uses of Interface
rx.Single.OnSubscribe
Packages that use Single.OnSubscribe
Package
Description
Base reactive classes: Observable, Single and Completable; base reactive consumers;
other common base interfaces.
Operators that allow composing Observables to transform and
manipulate data in an asynchronous, functional and thread-safe manner.
Callback types and a central plugin handler class to hook into the lifecycle
of the base reactive types and schedulers.
-
Uses of Single.OnSubscribe in rx
Methods in rx with parameters of type Single.OnSubscribeModifier and TypeMethodDescriptionstatic <T> Single
<T> Single.create
(Single.OnSubscribe<T> f) Returns a Single that will execute the specified function when aSingleSubscriber
executes it or aSubscriber
subscribes to it.Constructors in rx with parameters of type Single.OnSubscribeModifierConstructorDescriptionprotected
Creates a Single with a Function to execute when it is subscribed to (executed). -
Uses of Single.OnSubscribe in rx.internal.operators
Classes in rx.internal.operators that implement Single.OnSubscribeModifier and TypeClassDescriptionfinal class
Captures the current stack when it is instantiated, makes it available through a field and attaches it to all passing exception.class
Allows conversion of an Observable to a Single ensuring that exactly one item is emitted - no more and no less.final class
Execute an action after onSuccess or onError has been delivered.final class
Delays the subscription to the Single until the Observable fires an event or completes.final class
SingleOnSubscribeMap<T,
R> Applies a function of your choosing to every item emitted by anSingle
, and emits the results of this transformation as a newSingle
.final class
SingleOnSubscribeUsing<T,
Resource> Generates a resource, derives a Single from it and disposes that resource once the Single terminates.final class
Fields in rx.internal.operators declared as Single.OnSubscribeModifier and TypeFieldDescription(package private) final Single.OnSubscribe
<T> OnSubscribeOnAssemblySingle.source
Constructors in rx.internal.operators with parameters of type Single.OnSubscribe -
Uses of Single.OnSubscribe in rx.internal.util
Classes in rx.internal.util that implement Single.OnSubscribeModifier and TypeClassDescription(package private) static final class
Optimized observeOn for scalar value observed on the EventLoopsScheduler.(package private) static final class
Emits a scalar value on a general scheduler. -
Uses of Single.OnSubscribe in rx.plugins
Fields in rx.plugins with type parameters of type Single.OnSubscribeModifier and TypeFieldDescription(package private) static Func1
<Single.OnSubscribe, Single.OnSubscribe> RxJavaHooks.onSingleCreate
(package private) static Func1
<Single.OnSubscribe, Single.OnSubscribe> RxJavaHooks.onSingleCreate
Methods in rx.plugins that return Single.OnSubscribeModifier and TypeMethodDescriptionstatic <T> Single.OnSubscribe
<T> RxJavaHooks.onCreate
(Single.OnSubscribe<T> onSubscribe) Hook to call when a Single is created.<T> Single.OnSubscribe
<T> RxJavaSingleExecutionHook.onCreate
(Single.OnSubscribe<T> f) Deprecated.Methods in rx.plugins that return types with arguments of type Single.OnSubscribeModifier and TypeMethodDescriptionRxJavaHooks.getOnSingleCreate()
Returns the current Single onCreate hook function or null if it is set to the default pass-through.RxJavaHooks.getOnSingleCreate()
Returns the current Single onCreate hook function or null if it is set to the default pass-through.Methods in rx.plugins with parameters of type Single.OnSubscribeModifier and TypeMethodDescriptionstatic <T> Single.OnSubscribe
<T> RxJavaHooks.onCreate
(Single.OnSubscribe<T> onSubscribe) Hook to call when a Single is created.<T> Single.OnSubscribe
<T> RxJavaSingleExecutionHook.onCreate
(Single.OnSubscribe<T> f) Deprecated.Method parameters in rx.plugins with type arguments of type Single.OnSubscribeModifier and TypeMethodDescriptionstatic 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.