U
vi @ s d dl mZ d dlmZmZmZmZ d dlmZm Z m
Z
d dlmZ d dl
mZ edZeee df eee gee f dd d
Zd
gZdS ) )Future)CallableOptionalTypeVarUnion)
Observableabcfrom_future)CompositeDisposable)noop_Tz
Future[_T])otherreturnc s8 t | trt| n| tt tt d fdd}|S )N)sourcer c s0 dt jt tt j t jd fdd
}t|S )a Returns the values from the source observable sequence until
the other observable sequence produces a value.
Args:
source: The source observable sequence.
Returns:
An observable sequence containing the elements of the source
sequence up to the point the other sequence interrupted
further propagation.
N)observer schedulerr c s8 t d d fdd}tj |dj| jt|dS )N)_r c s d S )N)on_completed)r r O/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_takeuntil.pyr $ s zHtake_until_.