MCPcopy Create free account
hub / github.com/boostorg/cobalt / operator()

Method operator()

example/python.cpp:236–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 py_awaitable * res;
235
236 void operator()(py::object t) const
237 {
238 res->extract_result(t);
239 asio::dispatch(exec, std::move(awaiter));
240 }
241 };
242
243 if (py::cast<bool>(getattr(task, "done")()))

Callers

nothing calls this directly

Calls 1

extract_resultMethod · 0.80

Tested by

no test coverage detected