Last active
November 24, 2017 11:29
-
-
Save martinomburajr/680fe267c2ec23a912971113bfb0f8c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************** TIMER ***************************/ | |
| Observable.timer(2000L, TimeUnit.MILLISECONDS) | |
| .subscribe(longObserver); | |
| //Output | |
| // E/RxJava2:Schedulers:: onSubscribe | main | |
| // E/RxJava2:Schedulers:: onNext | 0 | |
| // E/RxJava2:Schedulers:: onNext | RxComputationThreadPool-2 | |
| // E/RxJava2:Schedulers:: onComplete | RxComputationThreadPool-2 | |
| /*********************** END OF TIMER ******************/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment