🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 17:15:49 | 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: _retry.cpython-38.pyc
Read Only
U v�i; � @ sn d dl mZmZmZ d dlZd dlmZ d dlmZ ed�Zd ee eee gee f d�dd�Z dgZdS ) � )�Callable�Optional�TypeVarN)� Observable)�infinite�_T)�retry_count�returnc s8 | dkrt � � nt| �� tt tt d�� fdd�}|S )a Repeats the source observable sequence the specified number of times or until it successfully terminates. If the retry count is not specified, it retries indefinitely. Examples: >>> retried = retry() >>> retried = retry(42) Args: retry_count: [Optional] Number of times to retry the sequence. If not provided, retry the sequence indefinitely. Returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully. N)�sourcer c s t �� fdd��D ��S )Nc 3 s | ] }� V qd S )N� )�.0�_�r r �K/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_retry.py� <genexpr>$ s z(retry_.<locals>.retry.<locals>.<genexpr>)� reactivexZcatch_with_iterabler ��genr r �retry# s zretry_.<locals>.retry)r �ranger r )r r r r r �retry_ s r )N)�typingr r r r r Zreactivex.internal.utilsr r �intr �__all__r r r r �<module> s ��
💾 Save Changes
❌ Cancel