MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / cancel_all_requests

Function cancel_all_requests

examples/server/server.py:15803–15805  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15801 cancel_all = [cancel for _, cancel in submissions]
15802
15803 def cancel_all_requests() -> None:
15804 for cancel in cancel_all:
15805 cancel()
15806
15807 disconnect_task = asyncio.create_task(
15808 watch_http_disconnect(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…