There was an error while loading. Please reload this page.
1 parent e76d333 commit 42e8cfaCopy full SHA for 42e8cfa
1 file changed
Doc/library/asyncio-eventloop.rst
@@ -1884,6 +1884,12 @@ Do not instantiate the :class:`Server` class directly.
1884
Wait until the :meth:`close` method completes and all active
1885
connections have finished.
1886
1887
+ .. versionchanged:: 3.12
1888
+ ``wait_closed()`` now waits until the server is closed and
1889
+ all active connections have finished. Previously, it returned
1890
+ immediately if the server was already closed, even if
1891
+ connections were still active.
1892
+
1893
.. attribute:: sockets
1894
1895
List of socket-like objects, ``asyncio.trsock.TransportSocket``, which
0 commit comments