Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encode/starlette
/ close
Method
close
benchmarks/_utils.py:51–53 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
49
return
self.loop.run_until_complete(run_asgi(app, scope, receive))
50
51
def
close(self) -> None:
52
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
53
self.loop.close()
Callers
2
asgi_runner
Function · 0.95
teardown
Method · 0.45
Calls
no outgoing calls
Tested by
1
asgi_runner
Function · 0.76