https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /opt/alt/python37/lib64/python3.7/site-packages/aiohttp/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python37/lib64/python3.7/site-packages/aiohttp/__pycache__/locks.cpython-37.pyc
B

�k�a��@s6ddlZddlZddlmZmZmZGdd�d�ZdS)�N)�Any�Deque�Optionalc@sTeZdZdZejdd�dd�Zdeedd�dd�Z	e
d	�d
d�Zdd	�dd
�ZdS)�EventResultOrErrorz�Event asyncio lock helper class.

    Wraps the Event asyncio lock allowing either to awake the
    locked Tasks without any error or raising an exception.

    thanks to @vorpalsmith for the simple design.
    N)�loop�returncCs$||_d|_t��|_t��|_dS)N)�_loop�_exc�asyncioZEvent�_event�collections�deque�_waiters)�selfr�r�@/opt/alt/python37/lib64/python3.7/site-packages/aiohttp/locks.py�__init__s
zEventResultOrError.__init__)�excrcCs||_|j��dS)N)r	r�set)rrrrrrszEventResultOrError.set)rc	�sP|j�|j���}|j�|�z|IdH}Wd|j�|�X|jdk	rL|j�|S)N)rZcreate_taskr�waitr�append�remover	)r�waiter�valrrrrs
zEventResultOrError.waitcCsx|jD]}|��qWdS)zCancel all waitersN)r�cancel)rrrrrr&szEventResultOrError.cancel)N)
�__name__�
__module__�__qualname__�__doc__r
ZAbstractEventLooprr�
BaseExceptionrrrrrrrrrs

r)r
r�typingrrrrrrrr�<module>s

https://t.me/AnonymousX5 - 2025