Commit Graph

2 Commits

Author SHA1 Message Date
yqhan b90dd8b0d6 Modify structure member variable initialization operations
Describe:Add the initialization of timeReq_ to the constructor.

issue:https://gitee.com/openharmony/js_worker_module/issues/I556KJ?from=project-issue

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2022-04-28 18:29:06 +08:00
y00576111 1459ce5be1 fixed 7748571 from https://gitee.com/wang_zhaoyong/js_worker_module/pulls/52
add Timer Interface for worker

execute polling operation and delay operation in the worker Without
waking up the system,add timer related interfaces,
setTimeout, setinterval, cleartimeout, clearinterval in worker
initialize

issue: https://gitee.com/openharmony/js_worker_module/issues/I51DAA

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I7089854c7f557c3f1d9f906854a2dad682e68400
2022-04-15 08:15:51 +00:00