o
    :ήc                     @   s.   d dl mZ ddlmZ deddfddZdS )	   )AsyncResource   )CancelScoperesourcereturnNc                    sD   t  }|  |  I dH  W d   dS 1 sw   Y  dS )z
    Close an asynchronous resource in a cancelled scope.

    Doing this closes the resource without waiting on anything.

    :param resource: the resource to close

    N)r   cancelaclose)r   scope r
   =/tmp/pip-target-vg8gfxp4/lib/python/anyio/_core/_resources.pyaclose_forcefully   s
   	"r   )abcr   _tasksr   r   r
   r
   r
   r   <module>   s    