Package rx.internal.operators
Class SingleOnSubscribeUsing<T,Resource>
java.lang.Object
rx.internal.operators.SingleOnSubscribeUsing<T,Resource>
- Type Parameters:
T
- the value type of the SingleResource
- the resource type
- All Implemented Interfaces:
Action
,Action1<SingleSubscriber<? super T>>
,Function
,Single.OnSubscribe<T>
public final class SingleOnSubscribeUsing<T,Resource>
extends Object
implements Single.OnSubscribe<T>
Generates a resource, derives a Single from it and disposes that resource once the
Single terminates.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
call
(SingleSubscriber<? super T> child) (package private) void
handleSubscriptionTimeError
(SingleSubscriber<? super T> t, Resource resource, Throwable ex)