# takeUntil

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

## Arguments

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

## Returns

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

## Example
