| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python312/Lib/asyncio/__pycache__/ |
Upload File : |
�
�bfq � �� � 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� � �$C:\Python312\Lib\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'