Server IP : 192.158.238.246 / Your IP : 18.191.89.16 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python38/lib64/python3.8/site-packages/aiohttp/__pycache__/ |
Upload File : |
U '�7`T � @ s$ d dl mZ dZG dd� de�ZdS )� )� FrozenList)�Signalc s4 e Zd ZdZdZ� fdd�Zdd� Zdd� Z� ZS ) r z�Coroutine-based signal implementation. To connect a callback to a signal, use any list method. Signals are fired using the send() coroutine, which takes named arguments. )�_ownerc s t � �� || _d S )N)�super�__init__r )�self�owner�� __class__� �B/opt/alt/python38/lib64/python3.8/site-packages/aiohttp/signals.pyr s zSignal.__init__c C s d� | j| jt| ��S )Nz"<Signal owner={}, frozen={}, {!r}>)�formatr �frozen�list)r r r r �__repr__ s �zSignal.__repr__c � s, | j std��| D ]}|||�I dH qdS )z9 Sends data to all registered receivers. zCannot send non-frozen signal.N)r �RuntimeError)r �args�kwargsZreceiverr r r �send s zSignal.send) �__name__� __module__�__qualname__�__doc__� __slots__r r r � __classcell__r r r r r s r N)Zaiohttp.frozenlistr �__all__r r r r r �<module> s