![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qnapi_p.h>
Public Member Functions | |
| Promise () | |
| Promise (const Napi::Promise &other) | |
| Promise & | operator= (const Napi::Promise &other) |
| Promise | onThen (CallbackFuncWrapper &&onFulfilledFunc) |
| Promise | onThen (CallbackFuncWrapper &&onFulfilledFunc, CallbackFuncWrapper &&onRejectedFunc) |
| Promise | onCatch (CallbackFuncWrapper &&onRejectedFunc) |
| Promise | onFinally (CallbackFuncWrapper &&onFinallyFunc) |
| Promise | onThenAndFinally (CallbackFuncWrapper &&onFulfilledFunc, CallbackFuncWrapper &&onRejectedFunc, CallbackFuncWrapper &&onFinallyFunc) |
| template<typename Context> | |
| PromiseWithContext< Context > | withContext (Context &&context) |
|
inline |
|
inline |
|
inline |
Definition at line 959 of file qnapi_p.h.
Referenced by QNapi::PromiseWithContext< Context >::onCatchWithContext().
|
inline |
Definition at line 965 of file qnapi_p.h.
Referenced by QNapi::PromiseWithContext< Context >::onFinallyWithContext().
|
inline |
|
inline |
|
inline |
|
inline |
| PromiseWithContext< Context > QNapi::Promise::withContext | ( | Context && | context | ) |