| Server IP : 104.21.94.62 / Your IP : 216.73.217.55 Web Server : Apache System : Linux semi1.us.cloudlogin.co 5.10.244-xeon-hst #1 SMP Sun Sep 14 17:09:20 UTC 2025 x86_64 User : xessglobal ( 271017) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : ON Directory : /proc/thread-self/root/lib64/python3.12/asyncio/__pycache__/ |
Upload File : |
�
!QOg� � �� � d dl Z d dlmZ d dlmZmZmZ ddlmZ ddlm Z ddlm
Z
dZ G d � d
e j � Z
e G d� d� � Zd
ee defd�Zdee defd�Zy)� N)�
TracebackType)�final�Optional�Type� )�events)�
exceptions)�tasks)�Timeout�timeout�
timeout_atc � � e Zd ZdZdZdZdZdZy)�_State�created�active�expiring�expired�finishedN)�__name__�
__module__�__qualname__�CREATED�ENTERED�EXPIRING�EXPIRED�EXITED� � �)/usr/lib64/python3.12/asyncio/timeouts.pyr r s � ��G��G��H��G�
�Fr r c � � e Zd ZdZdee ddfd�Zdee fd�Zdee ddfd�Zde fd�Z
defd �Zdd
�Z
deee dee d
ee dee fd�Zdd�Zy)r z�Asynchronous context manager for cancelling overdue coroutines.
Use `timeout()` or `timeout_at()` rather than instantiating this class directly.
�when�returnNc �X � t j | _ d| _ d| _ || _ y)z�Schedule a timeout that will trigger at a given loop time.
- If `when` is `None`, the timeout will never trigger.
- If `when < loop.time()`, the timeout will trigger on the next
iteration of the event loop.
N)r r �_state�_timeout_handler�_task�_when)�selfr! s r �__init__zTimeout.__init__! s% � � �n�n���>B���+/��
���
r c � � | j S )zReturn the current deadline.)r'