MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / cb

Function cb

tests/test_web_app.py:187–189  ·  view source on GitHub ↗
(app: web.Application)

Source from the content-addressed store, hash-verified

185 fut = asyncio.get_event_loop().create_future()
186
187 async def cb(app: web.Application) -> None:
188 await asyncio.sleep(0.001)
189 fut.set_result(123)
190
191 app.on_cleanup.append(cb)
192 app.freeze()

Callers 9

add_done_callbackMethod · 0.70
test_wait_eofMethod · 0.70
acquireFunction · 0.70
__call__Method · 0.50
_notify_releaseMethod · 0.50
_on_startupMethod · 0.50
feed_eofMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected