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

Function cancel

tests/test_server.py:405–406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403
404 @asyncio.coroutine
405 def cancel():
406 srv._request_handler.cancel()
407
408 loop.run_until_complete(
409 asyncio.wait([srv._request_handler, cancel()], loop=loop))

Callers 1

test_handle_cancelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected