Description:JsEnvironment support timer.

Sig:SIG_ApplicationFramework
Feature or BugFix: Feature
Binary Source: No

Signed-off-by: zhangyafei.echo <zhangyafei12@huawei.com>
Change-Id: I1b74939ac8d8c47cc256edf016f611ab2754ed1a
This commit is contained in:
zhangyafei.echo
2023-04-26 19:23:13 +08:00
parent 446efeafd7
commit 331ac85bcb
10 changed files with 66 additions and 11 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ NativeValue* StopTimeoutOrInterval(NativeEngine* engine, NativeCallbackInfo* inf
}
}
void InitTimerModule(NativeEngine& engine, NativeObject& globalObject)
void InitTimer(NativeEngine& engine, NativeObject& globalObject)
{
HILOG_DEBUG("InitTimerModule begin.");
const char *moduleName = "JsTimer";