Format: application/x-python-code
1 o
2
3 ;'h� � @ s2 d dl mZ ddlmZ ddlmZ d
4 d
5 d�ZdS )� )�annotations� )�
6 AsyncResource� )�CancelScope�resourcer �return�Nonec � sD �t � �}|�� | �� I dH W d � dS 1 sw Y dS )z�
7 Close an asynchronous resource in a cancelled scope.
8
9 Doing this closes the resource without waiting on anything.
10
11 :param resource: the resource to close
12
13 N)r �cancel�aclose)r �scope� r
14 �LC:\Users\shubh\Videos\agent\nova\Lib\site-packages\anyio/_core/_resources.py�aclose_forcefully s
15 � "�r N)r r r r )�
16 __future__r �abcr �_tasksr r r
17 r
18 r
19 r �<module> s