MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / getResult

Method getResult

src/PyEventLoop.cc:302–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302PyObject *PyEventLoop::Future::getResult() {
303 // https://docs.python.org/3.9/library/asyncio-future.html#asyncio.Future.result
304 return PyObject_CallMethod(_future, "result", NULL);
305}
306
307PyObject *PyEventLoop::Future::getException() {
308 // https://docs.python.org/3.9/library/asyncio-future.html#asyncio.Future.exception

Callers 1

futureOnDoneCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected