![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Functions | |
| Q_CORE_EXPORT void | invoke (std::function< void(QOhosJsState &)> task) |
| Q_CORE_EXPORT void | invokeAndWaitForContinue (std::function< void(QOhosJsState &, QOhosTaskPromise<>)> &&task, std::string callerContextName={}) |
| Q_CORE_EXPORT void | runAndWait (const std::function< void(QOhosJsState &)> &task, std::string callerContextName={}) |
| template<typename Func> | |
| auto | eval (Func &&func, std::string callerContextName={}) -> decltype(func(std::declval< QOhosJsState & >())) |
| template<typename T> | |
| T | evalWithPromise (std::function< void(QOhosJsState &, QOhosTaskPromise< T >)> evalFunc, std::string callerContextName={}) |
| template<typename T> | |
| T | evalWithConsumer (std::function< void(QOhosJsState &, std::function< void(T)>)> evalFunc) |
| auto QOhosJsThreadGateway::eval | ( | Func && | func, |
| std::string | callerContextName = {} ) -> decltype(func(std::declval< QOhosJsState & >())) |
Definition at line 443 of file qcore_ohos_p.h.
| T QOhosJsThreadGateway::evalWithConsumer | ( | std::function< void(QOhosJsState &, std::function< void(T)>)> | evalFunc | ) |
Definition at line 494 of file qcore_ohos_p.h.
| T QOhosJsThreadGateway::evalWithPromise | ( | std::function< void(QOhosJsState &, QOhosTaskPromise< T >)> | evalFunc, |
| std::string | callerContextName = {} ) |
Definition at line 464 of file qcore_ohos_p.h.
| void QOhosJsThreadGateway::invoke | ( | std::function< void(QOhosJsState &)> | task | ) |
Definition at line 38 of file qcore_ohos.cpp.
| void QOhosJsThreadGateway::invokeAndWaitForContinue | ( | std::function< void(QOhosJsState &, QOhosTaskPromise<>)> && | task, |
| std::string | callerContextName = {} ) |
Definition at line 43 of file qcore_ohos.cpp.
| void QOhosJsThreadGateway::runAndWait | ( | const std::function< void(QOhosJsState &)> & | task, |
| std::string | callerContextName = {} ) |
Definition at line 51 of file qcore_ohos.cpp.
Referenced by QtOhos::makeProxyWithJsThreadDeleter().