Send a message to the frontend.
(self, msg: dict)
| 60 | logger.info(f"[ScriptRunner] Loaded initial states: {initial_states}") |
| 61 | |
| 62 | async def send_message(self, msg: dict): |
| 63 | """Send a message to the frontend.""" |
| 64 | try: |
| 65 | await self._send_message_callback(msg) |
| 66 | except Exception as e: |
| 67 | logger.error(f"[ScriptRunner] Error sending message: {e}") |
| 68 | |
| 69 | @property |
| 70 | def is_running(self) -> bool: |
no outgoing calls
no test coverage detected