MCPcopy 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_runnerFunction · 0.95
teardownMethod · 0.45

Calls

no outgoing calls

Tested by 1

asgi_runnerFunction · 0.76