def send_output_event(self, output_name, event_body): logger.info("sending output event") async_helper.run_coroutine_sync( self.client.send_message_to_output( convert.test_script_object_to_outgoing_message(event_body), output_name)) logger.info("send confirmation received")
async def send_event(self, event_body): logger.info("sending event") await self.client.send_message( convert.test_script_object_to_outgoing_message(event_body) ) logger.info("send confirmation received")
def send_event_sync(self, event_body): self.client.send_message( convert.test_script_object_to_outgoing_message(event_body))