Class ExecutorScheduler

java.lang.Object
rx.Scheduler
rx.internal.schedulers.ExecutorScheduler

public final class ExecutorScheduler extends Scheduler
Scheduler that wraps an Executor instance and establishes the Scheduler contract upon it.

Note that thread-hopping is unavoidable with this kind of Scheduler as we don't know about the underlying threading behavior of the executor.