![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qstdweb_p.h>
Classes | |
| struct | AwaitResult |
| class | State |
Public Member Functions | |
| template<typename... Args> | |
| Promise (emscripten::val targettarget, QString methodName, Args... args) | |
| template<typename... Args> | |
| Promise (emscripten::val targettarget, const char *methodName, Args... args) | |
| Promise (emscripten::val promise) | |
| Promise (const std::vector< Promise > &promises) | |
| Promise & | addThenFunction (std::function< void(emscripten::val)> thenFunc) |
| Promise & | addCatchFunction (std::function< void(emscripten::val)> catchFunc) |
| Promise & | addFinallyFunction (std::function< void()> finallyFunc) |
| void | suspendExclusive () |
| AwaitResult | awaitExclusive () |
| emscripten::val | getPromise () const |
Static Public Member Functions | |
| 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 targettarget, QString methodName, PromiseCallbacks callbacks, Args... args) |
| template<typename... Args> | |
| static void | make (QList< uint32_t > &handlers, emscripten::val targettarget, 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 243 of file qstdweb_p.h.
|
inline |
Definition at line 246 of file qstdweb_p.h.
|
inline |
Definition at line 257 of file qstdweb_p.h.
|
inline |
Definition at line 267 of file qstdweb_p.h.
|
inline |
Definition at line 276 of file qstdweb_p.h.
Definition at line 489 of file qstdweb.cpp.
Definition at line 504 of file qstdweb.cpp.
Definition at line 474 of file qstdweb.cpp.
|
static |
Definition at line 562 of file qstdweb.cpp.
|
static |
Definition at line 636 of file qstdweb.cpp.
| Promise::AwaitResult qstdweb::Promise::awaitExclusive | ( | ) |
Definition at line 548 of file qstdweb.cpp.
| emscripten::val qstdweb::Promise::getPromise | ( | ) | const |
Definition at line 557 of file qstdweb.cpp.
|
inlinestatic |
Definition at line 331 of file qstdweb_p.h.
|
inlinestatic |
Definition at line 346 of file qstdweb_p.h.
| void qstdweb::Promise::suspendExclusive | ( | ) |
Definition at line 540 of file qstdweb.cpp.
Definition at line 629 of file qstdweb.cpp.