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

Method Future

include/PyEventLoop.hh:180–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 struct Future {
179 public:
180 explicit Future(PyObject *future) : _future(future) {};
181 Future(const Future &old) = delete; // forbid copy-initialization
182 Future(Future &&old) : _future(std::exchange(old._future, nullptr)) {}; // clear the moved-from object
183 ~Future() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected