Rx.Observable.prototype.pausable(pauser)

</rx-marbles>

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

Arguments

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

Returns

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

Example