Answer the question
In order to leave comments, you need to log in
How to slow down Observable on error?
I want to "slow down" the execution of too fast requests a little :)
I do something like this
Observable.zip(remoteObservable, Observable.timer(1, SECOND)).subscribe {
}
Answer the question
In order to leave comments, you need to log in
OMG.
I would use throttle[last/withTimeout] instead of zip. The error can be swallowed with onErrorResumeNext - and then re-thrown.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question