Provide Observable.timestamp(Scheduler) to be used in the tests.#751
Provide Observable.timestamp(Scheduler) to be used in the tests.#751benjchristensen merged 1 commit intoReactiveX:masterfrom
Conversation
|
RxJava-pull-requests #665 SUCCESS |
|
@samuelgruetter @headinthebox please review. I'd also change 2 overloads to the one Observable.timestamp(s: Option[Scheduler] = None) but I'm not sure it's ok to break binary compatibility. |
|
RxJava-pull-requests #671 SUCCESS |
|
LGTM, thanks for contributing! Regarding
That's not surprising: You can't use And regarding Observable.timestamp(s: Option[Scheduler] = None)Don't do this, we want to keep it the same way in all operators. But I agree that the way overloads with schedulers are done currently is not good, Scala offers much better ways with implicits. We're still working on this, and will change all operators at once. |
|
From the Scala folks ... should this be updated and merged considered the changes that have happened in the past month? |
|
This can be merged, but once we decide on #815 , it will change again. |
|
I would appreciate a way to have a timestamped stream unit-tested. If this is not with Scheduler parameter, I'm fine. |
The test could've used toBlockingObservable, but this hangs, even though timestamped observable is completed.