Lines Matching defs:func
356 NativeSafeAsyncWork* NativeEngine::CreateSafeAsyncWork(napi_value func, napi_value asyncResource,
360 return new NativeSafeAsyncWork(this, func, asyncResource, asyncResourceName, maxQueueSize, threadCount,
585 // register init worker func
586 void NativeEngine::SetInitWorkerFunc(InitWorkerFunc func)
588 initWorkerFunc_ = func;
594 void NativeEngine::SetGetAssetFunc(GetAssetFunc func)
596 getAssetFunc_ = func;
602 void NativeEngine::SetOffWorkerFunc(OffWorkerFunc func)
604 offWorkerFunc_ = func;
611 // call init worker func
641 void NativeEngine::SetGetContainerScopeIdFunc(GetContainerScopeIdCallback func)
643 g_getContainerScopeIdFunc = func;
645 void NativeEngine::SetInitContainerScopeFunc(ContainerScopeCallback func)
647 g_initContainerScopeFunc = func;
649 void NativeEngine::SetFinishContainerScopeFunc(ContainerScopeCallback func)
651 g_finishContainerScopeFunc = func;
686 void NativeEngine::SetDebuggerPostTaskFunc(DebuggerPostTask func)
688 debuggerPostTaskFunc_ = func;