#include <qstdweb_p.h>
|
| static uint32_t Q_CORE_EXPORT | adoptPromise (emscripten::val promise, PromiseCallbacks callbacks, QList< uint32_t > *handlers=nullptr) |
| template<typename... Args> |
| static uint32_t | make (emscripten::val target, QString methodName, PromiseCallbacks callbacks, Args... args) |
| template<typename... Args> |
| static void | make (QList< uint32_t > &handlers, emscripten::val target, QString methodName, PromiseCallbacks callbacks, Args... args) |
| static void Q_CORE_EXPORT | suspendExclusive (QList< uint32_t > handlerIndices) |
| static void Q_CORE_EXPORT | all (std::vector< emscripten::val > promises, PromiseCallbacks callbacks) |
Definition at line 242 of file qstdweb_p.h.
◆ Promise() [1/3]
template<typename... Args>
| qstdweb::Promise::Promise |
( |
emscripten::val | target, |
|
|
QString | methodName, |
|
|
Args... | args ) |
|
inline |
◆ Promise() [2/3]
| qstdweb::Promise::Promise |
( |
emscripten::val | promise | ) |
|
|
inline |
◆ Promise() [3/3]
| qstdweb::Promise::Promise |
( |
const std::vector< Promise > & | promises | ) |
|
|
inline |
◆ addCatchFunction()
| Promise & qstdweb::Promise::addCatchFunction |
( |
std::function< void(emscripten::val)> | catchFunc | ) |
|
◆ addFinallyFunction()
| Promise & qstdweb::Promise::addFinallyFunction |
( |
std::function< void()> | finallyFunc | ) |
|
◆ addThenFunction()
| Promise & qstdweb::Promise::addThenFunction |
( |
std::function< void(emscripten::val)> | thenFunc | ) |
|
◆ adoptPromise()
◆ all()
◆ getPromise()
| emscripten::val qstdweb::Promise::getPromise |
( |
| ) |
const |
◆ make() [1/2]
template<typename... Args>
| uint32_t qstdweb::Promise::make |
( |
emscripten::val | target, |
|
|
QString | methodName, |
|
|
PromiseCallbacks | callbacks, |
|
|
Args... | args ) |
|
inlinestatic |
◆ make() [2/2]
template<typename... Args>
◆ suspendExclusive() [1/2]
| void qstdweb::Promise::suspendExclusive |
( |
| ) |
|
◆ suspendExclusive() [2/2]
| void qstdweb::Promise::suspendExclusive |
( |
QList< uint32_t > | handlerIndices | ) |
|
|
static |
The documentation for this class was generated from the following files: