MCPcopy Index your code
hub / github.com/python/cpython / is_closing

Method is_closing

Lib/asyncio/streams.py:352–353  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

350 return self._transport.close()
351
352 def is_closing(self):
353 return self._transport.is_closing()
354
355 async def wait_closed(self):
356 await self._protocol._get_close_waiter(self)

Callers 15

drainMethod · 0.45
__del__Method · 0.45
drainMethod · 0.45
sendfileMethod · 0.45
test_closeMethod · 0.45
test_force_closeMethod · 0.45
test__add_readerMethod · 0.45
test_proc_exitedMethod · 0.45
test_closeMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_closeMethod · 0.36
test_force_closeMethod · 0.36
test__add_readerMethod · 0.36
test_proc_exitedMethod · 0.36
test_closeMethod · 0.36
test__closeMethod · 0.36
test__read_readyMethod · 0.36
test__write_ready_errMethod · 0.36