(self)
return list(self.__listeners.keys())
Get a copy of list of listeners subscribed to this topic. Safe to iterate over while listeners
        get un/subscribed from this topics (such as while sending a message).
Get a copy of list of listeners subscribed to this topic. Safe to iterate over while listeners
        get un/subscribed from this topics (such as while sending a message).
Get a copy of list of listeners subscribed to this topic . Safe to iterate over while listeners get un / subscribed from this topics ( such as while sending a message ) .
def getListeners(self) -> List[Listener]:
        """
        Get a copy of list of listeners subscribed to this topic. Safe to iterate over while listeners
        get un/subscribed from this topics (such as while sending a message).
        """
        return list(self.__listeners.keys())
def getListeners ( self ) -> List [ Listener ] : return list ( self . __listeners . keys ( ) )