There was an error while loading. Please reload this page.
1 parent de9dafa commit 5fd52c3Copy full SHA for 5fd52c3
1 file changed
Doc/library/asyncio-eventloop.rst
@@ -1861,6 +1861,12 @@ Do not instantiate the :class:`Server` class directly.
1861
Wait until the :meth:`close` method completes and all active
1862
connections have finished.
1863
1864
+ .. versionchanged:: 3.12
1865
+ ``wait_closed()`` now waits until the server is closed and
1866
+ all active connections have finished. Previously, it returned
1867
+ immediately if the server was already closed, even if
1868
+ connections were still active.
1869
+
1870
.. attribute:: sockets
1871
1872
List of socket-like objects, ``asyncio.trsock.TransportSocket``, which
0 commit comments