+
    ~jQ                     r    ^ RI t ^ RIHtHt ^ RIHtHtHt ]! R4      t ! R R]],          4      t	R R lt
R# )	    N)Callable	Coroutine)AnyGenericTypeVarTc                      a  ] tR t^t o V 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltV 3R	 lR
 ltV 3R lR lt	Rt
V tR# )	Debouncedc                X   < V ^8  d   QhRS[ . S[S[S[S[3,          3,          RS[RR/# )   funcdelayreturnN)r   r   r   r   float)format__classdict__s   "v/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/livekit/agents/utils/aio/debounce.py__annotate__Debounced.__annotate__	   s8     2 2Xb)CaK*@&@A 2% 2TX 2    c                ,    Wn         W n        R V n        R # N)_func_delay_task)selfr   r   s   &&&r   __init__Debounced.__init__	   s    
-1
r   c                D   < V ^8  d   QhRS[ P                  S[,          /# r   r   asyncioTaskr   )r   r   s   "r   r   r      s      ',,q/ r   c                   a  S P                  4        R  V 3R llp\        P                  ! V! 4       4      S n        S P                  # )c                $    V ^8  d   QhR\         /# r    )r   )r   s   "r   r   (Debounced.schedule.<locals>.__annotate__   s     	& 	& 	&r   c                     <"   \         P                  ! S P                  4      G R j  xL
  S P                  4       G R j  xL
 #  L L5ir   )r"   sleepr   r   r   s   r   _func_with_timer,Debounced.schedule.<locals>._func_with_timer   s3     --,,,%% -%s    $AAAA AA)cancelr"   create_taskr   )r   r*   s   f r   scheduleDebounced.schedule   s8    	& 	& (()9);<
zzr   c                D   < V ^8  d   QhRS[ P                  S[,          /# r    r!   )r   r   s   "r   r   r      s      W\\!_ r   c                    V P                  4        \        P                  ! V P                  4       4      V n        V P                  # r   )r,   r"   r-   r   r   r)   s   &r   runDebounced.run   s-    ((6
zzr   c                   < V ^8  d   QhRR/# )r   r   N )r   r   s   "r   r   r      s       r   c                    V P                   eF   V P                   P                  4       '       g$   V P                   P                  4        R V n         R # R # R # r   )r   doner,   r)   s   &r   r,   Debounced.cancel   s;    ::!$**//*;*;JJDJ +<!r   c                    < V ^8  d   QhRS[ /# r    )bool)r   r   s   "r   r   r   #   s     _ _D _r   c                    V P                   R J;'       dG    V P                   P                  4       '       * ;'       d     V P                   P                  4       '       * # r   )r   r7   	cancelledr)   s   &r   
is_runningDebounced.is_running#   s?    zz%^^djjoo.?*?^^

H\H\H^D^^r   c                D   < V ^8  d   QhRS[ P                  S[,          /# r    r!   )r   r   s   "r   r   r   &   s      ',,q/ r   c                "    V P                  4       # r   )r2   r)   s   &r   __call__Debounced.__call__&   s    xxzr   )r   r   r   N)__name__
__module____qualname____firstlineno__r   r.   r2   r,   r=   rA   __static_attributes____classdictcell__)r   s   @r   r
   r
      sC     2 2
   
_ _ r   r
   c          
          V ^8  d   QhR\         R\        \        . \        \        \        \        3,          3,          .\
        \        ,          3,          /# )r   r   r   )r   r   r   r   r   r
   )r   s   "r   r   r   *   sC      U x"iS!6L2L)M(NPYZ[P\(\] r   c                    a  R  V 3R llpV# )c                    V ^8  d   QhR\         . \        \        \        \        3,          3,          R\        \        ,          /# )r   r   r   )r   r   r   r   r
   )r   s   "r   r   debounced.<locals>.__annotate__+   s3     & &YsC{%;!;< &1 &r   c                    < \        V S4      # r   )r
   )r   r   s   &r   	decoratordebounced.<locals>.decorator+   s    u%%r   r5   )r   rN   s   f r   	debouncedrP   *   s    & & r   )r"   collections.abcr   r   typingr   r   r   r   r
   rP   r5   r   r   <module>rS      s0     / ( (CL
 Dr   