Created
June 14, 2017 11:30
-
-
Save Firsto/189323b18611d2d6ef7f7270cc5961b2 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
import rx.Scheduler; | |
public class SchedulerProvider { | |
private final Scheduler subscribeOn; | |
private final Scheduler observeOn; | |
public SchedulerProvider(Scheduler subscribeOn, Scheduler observeOn) { | |
this.subscribeOn = subscribeOn; | |
this.observeOn = observeOn; | |
} | |
public Scheduler getSubscribeOn() { | |
return subscribeOn; | |
} | |
public Scheduler getObserveOn() { | |
return observeOn; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment