U vâ’i;ã@snddlmZmZmZddlZddlmZddlmZedƒZd ee eeegeefdœdd„Z dgZ dS) é)ÚCallableÚOptionalÚTypeVarN)Ú Observable)ÚinfiniteÚ_T)Ú retry_countÚreturncs8|dkrtƒ‰nt|ƒ‰ttttdœ‡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 cst ‡fdd„ˆDƒ¡S)Nc3s|] }ˆVqdS)N©)Ú.0Ú_©r r úK/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_retry.pyÚ $sz(retry_..retry..)Ú reactivexZcatch_with_iterabler©ÚgenrrÚretry#szretry_..retry)rÚrangerr)rrr rrÚretry_ s r)N) ÚtypingrrrrrZreactivex.internal.utilsrrÚintrÚ__all__r r r rÚs  ÿþ