Home
last modified time | relevance | path

Searched refs:wait_closed (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_buffered_proto.py59 await writer.wait_closed()
70 self.loop.run_until_complete(srv.wait_closed())
Dtest_sendfile.py89 async def wait_closed(self): member in MyProto
188 self.run_loop(proto.wait_closed())
191 self.run_loop(server.wait_closed())
201 self.run_loop(proto.wait_closed())
212 self.run_loop(proto.wait_closed())
224 self.run_loop(proto.wait_closed())
236 self.run_loop(proto.wait_closed())
286 self.run_loop(server.wait_closed())
Dtest_server.py42 await writer.wait_closed()
93 await writer.wait_closed()
Dtest_streams.py582 await client_writer.wait_closed()
607 self.loop.run_until_complete(self.server.wait_closed())
617 await writer.wait_closed()
654 await client_writer.wait_closed()
673 self.loop.run_until_complete(self.server.wait_closed())
683 await writer.wait_closed()
922 self.loop.run_until_complete(wr.wait_closed())
934 self.loop.run_until_complete(wr.wait_closed())
946 await wr.wait_closed()
988 f = wr.wait_closed()
Dtest_unix_events.py297 self.loop.run_until_complete(srv.wait_closed())
306 self.loop.run_until_complete(srv.wait_closed())
370 self.loop.run_until_complete(srv.wait_closed())
474 async def wait_closed(self): member in SelectorEventLoopUnixSockSendfileTests.MyProto
520 self.run_loop(proto.wait_closed())
523 self.run_loop(server.wait_closed())
Dtest_base_events.py1166 self.loop.run_until_complete(srv.wait_closed())
1176 await srv.wait_closed()
1988 async def wait_closed(self): member in BaseLoopSockSendfileTests.MyProto
2044 self.run_loop(server.wait_closed())
2048 self.run_loop(proto.wait_closed())
2081 self.run_loop(proto.wait_closed())
2093 self.run_loop(proto.wait_closed())
Dtest_proactor_events.py934 async def wait_closed(self): member in ProactorEventLoopUnixSockSendfileTests.MyProto
983 self.run_loop(proto.wait_closed())
986 self.run_loop(server.wait_closed())
Dtest_sslproto.py584 await server.wait_closed()
Dtest_events.py2850 loop.run_until_complete(server.wait_closed())
2864 loop.run_until_complete(events.AbstractServer().wait_closed())
/third_party/python/Doc/library/
Dasyncio-stream.rst37 await writer.wait_closed()
281 The method should be used along with the ``wait_closed()`` method::
284 await stream.wait_closed()
327 .. coroutinemethod:: wait_closed()
Dasyncio-eventloop.rst1439 The server is closed asynchronously, use the :meth:`wait_closed`
1496 .. coroutinemethod:: wait_closed()
/third_party/python/Lib/asyncio/
Devents.py192 async def wait_closed(self): member in AbstractServer
201 await self.wait_closed()
Dstreams.py343 async def wait_closed(self): member in StreamWriter
Dbase_events.py370 await self.wait_closed()
376 async def wait_closed(self): member in Server
/third_party/python/Misc/NEWS.d/
D3.7.0b1.rst325 Implement :meth:`asyncio.StreamWriter.wait_closed` and
/third_party/python/Doc/whatsnew/
D3.7.rst686 * The new :meth:`StreamWriter.wait_closed() <asyncio.StreamWriter.wait_closed>`