diff --git a/pycrdt_websocket/yroom.py b/pycrdt_websocket/yroom.py index 9320c66..42f575f 100644 --- a/pycrdt_websocket/yroom.py +++ b/pycrdt_websocket/yroom.py @@ -306,6 +306,9 @@ async def serve(self, websocket: Websocket): self._handle_exception(exception) def local_update_awareness(self, state: bytes) -> None: + """ + Callback to broadcast the server awareness to clients. + """ if self._task_group is not None: self._task_group.start_soon(self._local_update_awareness, state) else: