Searched refs:watchEntity (Results 1 – 2 of 2) sorted by relevance
62 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in StopSync() local63 if (!watchEntity) { in StopSync()68 watchEntity->fsEventReq_.reset(); in StopSync()80 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in Stop() local81 if (!watchEntity) { in Stop()86 auto cbExec = [watchEntity](napi_env env) -> UniError { in Stop()87 watchEntity->fsEventReq_.reset(); in Stop()
65 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in Stop() local66 if (!watchEntity) { in Stop()71 int ret = FileWatcher::GetInstance().StopNotify(watchEntity->data_); in Stop()89 auto watchEntity = NClass::GetEntityOf<WatcherEntity>(env, funcArg.GetThisVar()); in Start() local90 if (!watchEntity) { in Start()96 int ret = FileWatcher::GetInstance().StartNotify(watchEntity->data_); in Start()