Home
last modified time | relevance | path

Searched refs:asyncWorkName (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/netstack/utils/napi_utils/include/
H A Dmodule_template.h43 napi_value InterfaceWithManagerWrapper(napi_env env, napi_callback_info info, const std::string &asyncWorkName, in InterfaceWithManagerWrapper() argument
47 NETSTACK_LOGI("js invoke %{public}s", asyncWorkName.c_str()); in InterfaceWithManagerWrapper()
84 context->CreateAsyncWork(asyncWorkName, executor, callback); in InterfaceWithManagerWrapper()
86 NETSTACK_LOGD("%{public}s create promise", asyncWorkName.c_str()); in InterfaceWithManagerWrapper()
93 napi_value InterfaceWithSharedManager(napi_env env, napi_callback_info info, const std::string &asyncWorkName, in InterfaceWithSharedManager() argument
97 NETSTACK_LOGI("js invoke %{public}s", asyncWorkName.c_str()); in InterfaceWithSharedManager()
134 context->CreateAsyncWork(asyncWorkName, executor, callback); in InterfaceWithSharedManager()
136 NETSTACK_LOGD("%{public}s create promise", asyncWorkName.c_str()); in InterfaceWithSharedManager()
145 const std::string &asyncWorkName, AsyncWorkExecutor executor, in InterfaceWithOutAsyncWorkWithManagerWrapper()
173 NETSTACK_LOGD("%{public}s is invoked in promise mode", asyncWorkName in InterfaceWithOutAsyncWorkWithManagerWrapper()
143 InterfaceWithOutAsyncWorkWithManagerWrapper(napi_env env, napi_callback_info info, bool (*Work)(napi_env, napi_value, Context *), const std::string &asyncWorkName, AsyncWorkExecutor executor, AsyncWorkCallback callback) InterfaceWithOutAsyncWorkWithManagerWrapper() argument
192 InterfaceWithOutAsyncWorkWithSharedManager(napi_env env, napi_callback_info info, bool (*Work)(napi_env, napi_value, Context *), const std::string &asyncWorkName, AsyncWorkExecutor executor, AsyncWorkCallback callback) InterfaceWithOutAsyncWorkWithSharedManager() argument
241 Interface(napi_env env, napi_callback_info info, const std::string &asyncWorkName, bool (*Work)(napi_env, napi_value, Context *), AsyncWorkExecutor executor, AsyncWorkCallback callback) Interface() argument
288 InterfaceWithOutAsyncWork(napi_env env, napi_callback_info info, bool (*Work)(napi_env, napi_value, Context *), const std::string &asyncWorkName, AsyncWorkExecutor executor, AsyncWorkCallback callback) InterfaceWithOutAsyncWork() argument
[all...]
/foundation/communication/netmanager_base/utils/napi_utils/include/
H A Dmodule_template.h36 napi_value InterfaceWithoutManager(napi_env env, napi_callback_info info, const std::string &asyncWorkName, in InterfaceWithoutManager() argument
61 context->CreateAsyncWork(asyncWorkName, executor, callback); in InterfaceWithoutManager()
69 napi_value Interface(napi_env env, napi_callback_info info, const std::string &asyncWorkName, in Interface() argument
97 context->CreateAsyncWork(asyncWorkName, executor, callback); in Interface()
105 napi_value InterfaceSync(napi_env env, napi_callback_info info, const std::string &asyncWorkName, in InterfaceSync() argument

Completed in 1 milliseconds