🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 10:28:00 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
reactivex
/
operators
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/__pycache__
🔄 Refresh
✏️
Editing: _finallyaction.cpython-38.pyc
Read Only
U v�i � @ sj d dl mZmZmZ d dlmZmZm Z d dlmZ ed�Z e j eee gee f d�dd�ZdgZdS ) � )�Callable�Optional�TypeVar)� Observable�abc�typing)� Disposable�_T)�action�returnc s t t t t d�� fdd�}|S )N)�sourcer c s0 dt jt tt j t jd��� fdd� }t|�S )a\ Invokes a specified action after the source observable sequence terminates gracefully or exceptionally. Example: res = finally(source) Args: source: Observable sequence. Returns: An observable sequence with the action-invoking termination behavior applied. N)�observer� schedulerr c sF z�j | |d�� W n tk r. �� � Y nX �� fdd�}t|�S )N)r c s z�� � W 5 � � X d S )N)�dispose� )r �subscriptionr �S/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_finallyaction.pyr % s zKfinally_action_.<locals>.finally_action.<locals>.subscribe.<locals>.dispose)� subscribe� Exceptionr )r r r )r r )r r r s z:finally_action_.<locals>.finally_action.<locals>.subscribe)N)r ZObserverBaser r Z SchedulerBaseZDisposableBaser )r r �r )r r �finally_action s ��z'finally_action_.<locals>.finally_action)r r )r r r r r �finally_action_ s #r N) r r r r Z reactivexr r Zreactivex.disposabler r �Actionr �__all__r r r r �<module> s �)
💾 Save Changes
❌ Cancel