
    qi                     .    d Z ddlmZmZ  G d de      Zy)z$Base notifier interface for Pipecat.    )ABCabstractmethodc                   0    e Zd ZdZed        Zed        Zy)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                    K   yw)zSend a notification signal.

        Implementations should trigger any waiting coroutines or processes
        that are blocked on this notifier.
        N selfs    R/opt/pipecat/venv/lib/python3.12/site-packages/pipecat/utils/sync/base_notifier.pynotifyzBaseNotifier.notify         	   c                    K   yw)zWait for a notification signal.

        Implementations should block until a notification is received
        from the corresponding notify() call.
        Nr   r	   s    r   waitzBaseNotifier.wait   r   r   N)__name__
__module____qualname____doc__r   r   r   r       r   r   r      s/        r   r   N)r   abcr   r   r   r   r   r   <module>r      s    + #3 r   