Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Functions | |
void | adoptPromise (emscripten::val promiseObject, PromiseCallbacks callbacks) |
void | all (std::vector< emscripten::val > promises, PromiseCallbacks callbacks) |
template<typename... Args> | |
void | make (emscripten::val target, QString methodName, PromiseCallbacks callbacks, Args... args) |
void Q_CORE_EXPORT qstdweb::Promise::adoptPromise | ( | emscripten::val | promiseObject, |
PromiseCallbacks | callbacks ) |
Definition at line 760 of file qstdweb.cpp.
References callbacks.
Referenced by all(), and make().
void Q_CORE_EXPORT qstdweb::Promise::all | ( | std::vector< emscripten::val > | promises, |
PromiseCallbacks | callbacks ) |
Definition at line 767 of file qstdweb.cpp.
References adoptPromise(), callbacks, error, i, results, state, and qstdweb::PromiseCallbacks::thenFunc.
void qstdweb::Promise::make | ( | emscripten::val | target, |
QString | methodName, | ||
PromiseCallbacks | callbacks, | ||
Args... | args ) |
Definition at line 221 of file qstdweb_p.h.
References adoptPromise(), args, callbacks, methodName(), and qFatal.
Referenced by QWasmVideoOutput::addCameraSourceElement(), qstdweb::Blob::arrayBuffer_sync(), and QWasmVideoOutput::videoFrameCallback().