Package rx.internal.operators
Class OnSubscribeDelaySubscription<T>
- java.lang.Object
-
- rx.internal.operators.OnSubscribeDelaySubscription<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
Action
,Action1<Subscriber<? super T>>
,Function
,Observable.OnSubscribe<T>
public final class OnSubscribeDelaySubscription<T> extends java.lang.Object implements Observable.OnSubscribe<T>
Delays the subscription to the source by the given amount, running on the given scheduler.
-
-
Constructor Summary
Constructors Constructor Description OnSubscribeDelaySubscription(Observable<? extends T> source, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
call(Subscriber<? super T> s)
-
-
-
Field Detail
-
source
final Observable<? extends T> source
-
time
final long time
-
unit
final java.util.concurrent.TimeUnit unit
-
scheduler
final Scheduler scheduler
-
-
Constructor Detail
-
OnSubscribeDelaySubscription
public OnSubscribeDelaySubscription(Observable<? extends T> source, long time, java.util.concurrent.TimeUnit unit, Scheduler scheduler)
-
-
Method Detail
-
call
public void call(Subscriber<? super T> s)
-
-