|
PythonMonkey v1.3.0 (dev)
|
Struct for representing Promises. More...
#include <jsapi.h>#include <js/Promise.h>#include <Python.h>Go to the source code of this file.
Classes | |
| struct | PromiseType |
| This struct represents the JS Promise type in Python using our custom pythonmonkey.promise type. More... | |
Functions | |
| bool | PythonAwaitable_Check (PyObject *obj) |
Check if the object can be used in Python await expression. PyAwaitable_Check hasn't been and has no plan to be added to the Python C API as of CPython 3.9. | |
Struct for representing Promises.
| bool PythonAwaitable_Check | ( | PyObject * | obj | ) |
Check if the object can be used in Python await expression. PyAwaitable_Check hasn't been and has no plan to be added to the Python C API as of CPython 3.9.