Skip to content

Scheduler

DavidMGross edited this page Feb 6, 2014 · 38 revisions

Content TBD

Default Schedulers for RxJava Observable operators

Some Observable operators in RxJava have alternate forms that allow you to set which Scheduler the operator will use for (at least some part of) its operation. For these operators, if you do not set the Scheduler, the operator will use the default computation Scheduler.

Other operators do not have a form that permits you to set their Schedulers. Some of these, like startWith, empty, error, from, just, merge, and range do not use a Scheduler. A few others use particular schedulers, as in the following table:

operator Scheduler
repeat currentThread
timeInterval immediate
timestamp immediate
parallelMerge currentThread
Clone this wiki locally