o
    äÝ`g  ã                   @  sF   d dl mZ d dlmZ d dlmZ erddlmZ G dd„ dƒZdS )	é    )Úannotations)ÚTYPE_CHECKING)ÚRealtimeChannelOptionsé   )ÚSyncRealtimeClientc                   @  s"   e Zd ZdZdi ifddd„ZdS )ÚSyncRealtimeChannela  
    `Channel` is an abstraction for a topic listener for an existing socket connection.
    Each Channel has its own topic and a list of event-callbacks that responds to messages.
    Should only be instantiated through `connection.RealtimeClient().channel(topic)`.
    ÚconfigÚsocketr   ÚtopicÚstrÚparamsr   ÚreturnÚNonec                 C  s   dS )zâ
        Initialize the Channel object.

        :param socket: RealtimeClient object
        :param topic: Topic that it subscribes to on the realtime server
        :param params: Optional parameters for connection.
        N© )Úselfr	   r
   r   r   r   úQ/var/www/html/propose/venv/lib/python3.10/site-packages/realtime/_sync/channel.pyÚ__init__   s    zSyncRealtimeChannel.__init__N)r	   r   r
   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r      s    
ür   N)	Ú
__future__r   Útypingr   Úrealtime.typesr   Úclientr   r   r   r   r   r   Ú<module>   s    