MCPcopy
hub / github.com/aio-libs/aiohttp / shutdown

Method shutdown

aiohttp/web.py:256–261  ·  view source on GitHub ↗

Causes on_shutdown signal Should be called before cleanup()

(self)

Source from the content-addressed store, hash-verified

254
255 @asyncio.coroutine
256 def shutdown(self):
257 """Causes on_shutdown signal
258
259 Should be called before cleanup()
260 """
261 yield from self.on_shutdown.send(self)
262
263 @asyncio.coroutine
264 def cleanup(self):

Callers 3

test_on_shutdownFunction · 0.95
run_appFunction · 0.80
closeMethod · 0.80

Calls 1

sendMethod · 0.45

Tested by 1

test_on_shutdownFunction · 0.76