There was an error while loading. Please reload this page.
1 parent 6c026ad commit 222a8bfCopy full SHA for 222a8bf
1 file changed
Doc/library/asyncio-eventloop.rst
@@ -1873,6 +1873,12 @@ Do not instantiate the :class:`Server` class directly.
1873
Wait until the :meth:`close` method completes and all active
1874
connections have finished.
1875
1876
+ .. versionchanged:: 3.12
1877
+ ``wait_closed()`` now waits until the server is closed and
1878
+ all active connections have finished. Previously, it returned
1879
+ immediately if the server was already closed, even if
1880
+ connections were still active.
1881
+
1882
.. attribute:: sockets
1883
1884
List of socket-like objects, ``asyncio.trsock.TransportSocket``, which
0 commit comments