o
    i                     @   s(   d Z ddlmZmZ G dd deZdS )z$Base notifier interface for Pipecat.    )ABCabstractmethodc                   @   s(   e Zd ZdZedd Zedd ZdS )BaseNotifierzAbstract base class for notification mechanisms.

    Provides a standard interface for implementing notification and waiting
    patterns used for event coordination and signaling between components
    in the Pipecat framework.
    c                       dS )zSend a notification signal.

        Implementations should trigger any waiting coroutines or processes
        that are blocked on this notifier.
        N selfr   r   T/home/ubuntu/.local/lib/python3.10/site-packages/pipecat/utils/sync/base_notifier.pynotify      zBaseNotifier.notifyc                    r   )zWait for a notification signal.

        Implementations should block until a notification is received
        from the corresponding notify() call.
        Nr   r   r   r   r	   wait   r   zBaseNotifier.waitN)__name__
__module____qualname____doc__r   r
   r   r   r   r   r	   r      s    
r   N)r   abcr   r   r   r   r   r   r	   <module>   s   