U
vâ’ir ã @ s~ d dl mZmZmZmZ d dlmZmZ d dlm Z ddl
mZ edƒZdee e eee gee f dœd d
„Z
d
gZdS )é )ÚAnyÚCallableÚOptionalÚTypeVar)Ú
ObservableÚ operators)Ú Predicateé )Úlast_or_default_asyncÚ_TN)Ú predicateÚreturnc s t t t t dœ‡ fdd„}|S )N)Úsourcer
c s$ ˆ r| t ˆ ¡t ¡ ¡S t| dƒS )aý Partially applied last operator.
Returns the last element of an observable sequence that
satisfies the condition in the predicate if specified, else
the last element.
Examples:
>>> res = last(source)
Args:
source: Source observable to get last item from.
Returns:
An observable sequence containing the last element in the
observable sequence that satisfies the condition in the
predicate.
F)Úpiper ÚfilterÚlastr
)r ©r © úJ/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_last.pyr s þzlast_.