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

Method getHostDefinedData

src/JobQueue.cc:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29bool JobQueue::getHostDefinedData(JSContext *cx, JS::MutableHandle<JSObject *> data) const {
30 data.set(nullptr); // We don't need the host defined data
31 return true; // `true` indicates no error
32}
33
34bool JobQueue::enqueuePromiseJob(JSContext *cx,
35 [[maybe_unused]] JS::HandleObject promise,

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected