Rx.Observable.prototype.pausable(pauser)

pausable

Pauses the underlying observable sequence based upon the observable sequence which yields true/false. Note that this only works on hot observables.

参数

  1. pauser (Rx.Subject): The observable sequence used to pause the underlying sequence.

返回值

(Observable): The observable sequence which is paused based upon the pauser.