| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/asyncio/__pycache__/ |
Upload File : |
R
>lqj% c �� � Q
s ] PHs] PHs] PHs] PHs] PHs] PHs]QHGs ]QHG s ]QHG
s
]QHGs ]QHGs Q Q\O 2 s Q Q 2 sQ PQ
P-Q ksQ sP! )�Runner)�
coroutines)�events)�
exceptions)�tasks)� constantsc �$ � \ sQ s]sQsQsQsQsP! )�_State�created�initialized�closed� )�__name__�
__module__�__qualname__�__firstlineno__�CREATED�INITIALIZED�CLOSED�__static_attributes__r � �$C:\Python315\\Lib\asyncio\runners.pyr r s � ��G��K�
�Fr r c �j ` � \ sQ s]s n QsQPQP-Q ksQ sQ sQ sQ s Q P-Q
ks
Q sQ sQ
s
U sP! )r a� A context manager that controls event loop life cycle.
The context manager always creates a new event loop,
allows to run async functions inside it,
and properly finalizes the loop at the context manager exit.
If debug is True, the event loop will be run in debug mode.
If loop_factory is passed, it is used for new event loop creation.
asyncio.run(main(), debug=True)
is a shortcut for
with asyncio.Runner(debug=True) as runner:
runner.run(main())
The run() method can be called multiple times within the runner's
context.
This can be useful for interactive console (e.g. IPython),
unittest runners, console tools, -- everywhere when async code
is called from existing sync framework and where the preferred single
asyncio.run() call doesn't work.
�debug�loop_factoryc � � [ O U m Vm V m PU m PU m ] U m P
U m P! �N) r r �_state�_debug�
_loop_factory�_loop�_context�_interrupt_count�_set_event_loop)�selfr r s &$$r �__init__�Runner.__init__2 s6 � ��n�n�����)����
���
� !���$��r c �( � U O 2 U ! r )�
_lazy_init�r# s &r � __enter__�Runner.__enter__; s � ������r c �( � U O 2 P! r )�close)r# �exc_type�exc_val�exc_tbs &&&&r �__exit__�Runner.__exit__? s � ��
�
�r c �l � U O [ O Ic P! U O o[ U2 UO UO
2 2 UO UO [ O 2 2 U O % c [ O P2 UO 2 PU m [ O U m P! S O % c [ O P2 WO 2 PS m [ O S m h 9 h)zShutdown and close event loop.)r r r r �_cancel_all_tasks�run_until_complete�shutdown_asyncgens�shutdown_default_executorr �THREAD_JOIN_TIMEOUTr"