RxJava
rx.operators
Class OperationInterval
java.lang.Object
rx.operators.OperationInterval
public final class OperationInterval
- extends java.lang.Object
Returns an observable sequence that produces a value after each period.
The value starts at 0 and counts up each period.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationInterval
public OperationInterval()
interval
public static Observable.OnSubscribeFunc<java.lang.Long> interval(long interval,
java.util.concurrent.TimeUnit unit)
- Creates an event each time interval.
interval
public static Observable.OnSubscribeFunc<java.lang.Long> interval(long interval,
java.util.concurrent.TimeUnit unit,
Scheduler scheduler)
- Creates an event each time interval.