MCPcopy Create free account
hub / github.com/Vinyzu/Botright / done_cb

Method done_cb

tests/server.py:162–163  ·  view source on GitHub ↗
(task: asyncio.Task)

Source from the content-addressed store, hash-verified

160 cb_wrapper: ExpectResponse[TestServerRequest] = ExpectResponse()
161
162 def done_cb(task: asyncio.Task) -> None:
163 cb_wrapper._value = future.result()
164
165 future.add_done_callback(done_cb)
166 yield cb_wrapper

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected