Rx.Observable.prototype.subscribeOn(scheduler)
Wraps the source sequence in order to run its subscription and unsubscription logic on the specified scheduler.
This only performs the side-effects of subscription and unsubscription on the specified scheduler. In order to invoke observer callbacks on a scheduler, use observeOn
.
Arguments
scheduler
(Scheduler
): Scheduler to notify observers on.
Returns
(Observable
): The source sequence whose observations happen on the specified scheduler.