Ë
    +Œ:jb  ã                  ó¨   — d dl mZ d dlmZmZ d dlmZ ddlmZ ddl	m
Z
  ed«      Zdd	d
œ	 	 	 	 	 	 	 	 	 dd„Zdd	d
œ	 	 	 	 	 	 	 	 	 dd„Zdd„Zdd„Zy	)é    )Úannotations)ÚCallableÚTypeVar)Úwarné   )Úget_asynclib)ÚCapacityLimiterÚT_RetvalFN©ÚcancellableÚlimiterc             ‡  ó\   K  —  t        «       j                  | g|¢­||dœŽƒ d{  –—† S 7 Œ­w)a�  
    Call the given function with the given arguments in a worker thread.

    If the ``cancellable`` option is enabled and the task waiting for its completion is cancelled,
    the thread will still run its course but its return value (or any raised exception) will be
    ignored.

    :param func: a callable
    :param args: positional arguments for the callable
    :param cancellable: ``True`` to allow cancellation of the operation
    :param limiter: capacity limiter to use to limit the total amount of threads running
        (if omitted, the default limiter is used)
    :return: an awaitable that yields the return value of the function.

    r   N)r   Úrun_sync_in_worker_thread©Úfuncr   r   Úargss       úQ/var/www/html/tokenscope/api/venv/lib/python3.12/site-packages/anyio/to_thread.pyÚrun_syncr      s>   è ø€ ð* :”“×9Ñ9ØðØñØ!,°gò÷ ð ð ús   ‚#,¥*¦,c             ‡  ó^   K  — t        dt        «       t        | g|¢­||dœŽƒ d {  –—† S 7 Œ­w)NzWrun_sync_in_worker_thread() has been deprecated, use anyio.to_thread.run_sync() insteadr   )r   ÚDeprecationWarningr   r   s       r   r   r   &   s5   è ø€ ô 	ØaÜôô ˜$ÐP ÑP°;ÈÒP×PÐPÐPús   ‚$-¦+§-c                 ó2   — t        «       j                  «       S )z‘
    Return the capacity limiter that is used by default to limit the number of concurrent threads.

    :return: a capacity limiter object

    )r   Úcurrent_default_thread_limiter© ó    r   r   r   3   s   € ô ‹>×8Ñ8Ó:Ð:r   c                 ó6   — t        dt        «       t        «       S )Nzycurrent_default_worker_thread_limiter() has been deprecated, use anyio.to_thread.current_default_thread_limiter() instead)r   r   r   r   r   r   Ú%current_default_worker_thread_limiterr   =   s   € Üð	Gäôô
 *Ó+Ð+r   )
r   zCallable[..., T_Retval]r   Úobjectr   Úboolr   zCapacityLimiter | NoneÚreturnr
   )r   r	   )Ú
__future__r   Útypingr   r   Úwarningsr   Ú_core._eventloopr   Úabcr	   r
   r   r   r   r   r   r   r   ú<module>r%      s¤   ðÝ "ç $Ý å *Ý  á�:Ó€ð Ø&*ñ	Ø
!ðàðð ðð $ð	ð
 óð: Ø&*ñ	
QØ
!ð
Qàð
Qð ð
Qð $ð	
Qð
 ó
Qó;ô,r   