Documentation / @eventkit/base / takeUntil
Function: takeUntil()
ts
function takeUntil<T>(stopNotifier): OperatorFunction<T, T>
Emits values from the source observable until the stopNotifier
observable emits a value. Once the stopNotifier
emits, the resulting observable completes and no more values will be emitted.
Type Parameters
Type Parameter |
---|
T |
Parameters
Parameter | Type | Description |
---|---|---|
stopNotifier | AsyncObservable <any > | An observable that signals when to stop taking values from the source. |
Returns
OperatorFunction
<T
, T
>