PythonMonkey v1.0.1 (dev)
|
Implements the ECMAScript Job Queue. More...
#include <jsapi.h>
#include <js/Promise.h>
#include <Python.h>
Go to the source code of this file.
Classes | |
class | JobQueue |
Implement the ECMAScript Job Queue: https://www.ecma-international.org/ecma-262/9.0/index.html#sec-jobs-and-job-queues. More... | |
Functions | |
bool | sendJobToMainLoop (PyObject *pyFunc) |
Send job to the Python event-loop on main thread (Thread-Safe) | |
Implements the ECMAScript Job Queue.
bool sendJobToMainLoop | ( | PyObject * | pyFunc | ) |
Send job to the Python event-loop on main thread (Thread-Safe)
pyFunc | - the Python job function |