U
    Rh                     @  s8   d dl mZ ddlmZ ddlmZ dddd	d
ZdS )    )annotations   )AsyncResource   )CancelScoper   None)resourcereturnc              	     s,   t  }|  |  I dH  W 5 Q R X 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   Zscope r   <./venv/lib/python3.8/site-packages/anyio/_core/_resources.pyaclose_forcefully   s    	r   N)Z
__future__r   abcr   Z_tasksr   r   r   r   r   r   <module>   s   