Rx.Observable.prototype.takeUntil(other)

takeUntil

Returns the values from the source observable sequence until the other observable sequence or Promise produces a value.

参数

  1. other (Observable | Promise): Observable sequence or Promise that terminates propagation of elements of the source sequence.

返回值

(Observable): An observable sequence containing the elements of the source sequence up to the point the other sequence or Promise interrupted further propagation.