kitttn
02/14/2017, 6:53 AMObservable.interval(0, delay, SECONDS), which emits 0 in the beginning immediately and emits increasing Longs every delay seconds.
The question is next:
How can i properly create an Observable, which will be able to onNext current (or last) value to a newly subscribed Subscriber?
for example:
0---------> 1 ----------> 2 ------------> 3 --------------->
___________________| - new Subscriber
how can this new Subscriber get 1 immediately after subscription? Maybe BehaviorSubject will work?