MCPcopy Create free account
hub / github.com/boostorg/cobalt / extract_result

Method extract_result

example/python.cpp:265–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 void extract_result(py::object task)
266 {
267 exception = getattr(task, "exception")();
268 if (exception.is_none())
269 result = getattr(task, "result")();
270 }
271
272 py::object await_resume()
273 {

Callers 1

operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected