Skip to content

Commit 52c80ed

Browse files
committed
Docstring
1 parent 9a4b71f commit 52c80ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pycrdt_websocket/yroom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ async def serve(self, websocket: Websocket):
306306
self._handle_exception(exception)
307307

308308
def local_update_awareness(self, state: bytes) -> None:
309+
"""
310+
Callback to broadcast the server awareness to clients.
311+
"""
309312
if self._task_group is not None:
310313
self._task_group.start_soon(self._local_update_awareness, state)
311314
else:

0 commit comments

Comments
 (0)