(
        self,
        listener,
        *,
        listener_name: str,
        bus_options: dict = None,
        on_error: OnError = OnError.SHUTDOWN,
    )
return self.client.listen_for_event(
            api_name=self.api_name,
            name=self.name,
            listener=listener,
            listener_name=listener_name,
            options=bus_options,
            on_error=on_error,
        )
Listen to events for this BusPath node
Listen to events for this BusPath node
Listen to events for this BusPath node
def listen(
        self,
        listener,
        *,
        listener_name: str,
        bus_options: dict = None,
        on_error: OnError = OnError.SHUTDOWN,
    ):
        """Listen to events for this BusPath node"""
        return self.client.listen_for_event(
            api_name=self.api_name,
            name=self.name,
            listener=listener,
            listener_name=listener_name,
            options=bus_options,
            on_error=on_error,
        )
def listen ( self , listener , * , listener_name : str , bus_options : dict = None , on_error : OnError = OnError . SHUTDOWN , ) : return self . client . listen_for_event ( api_name = self . api_name , name = self . name , listener = listener , listener_name = listener_name , options = bus_options , on_error = on_error , )