async def broadcast_event(self, event: Event): for websocket in self._websockets: await websocket.send_json(event.as_dict())