summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2021-12-09 17:00:55 +0900
committerGitHub <noreply@github.com>2021-12-09 17:00:55 +0900
commit69ad5f0e7879e9555f949c9b5eb48440cd9e9fdc (patch)
treeca01e028d63b038258c48ce1e28c2725a887f27a /runtime/js
parent1507b8c9843262d6514ed61fdba115671dfb7bfe (diff)
feat(ext/timers): add refTimer, unrefTimer API (#12953)
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/90_deno_ns.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index f858a93eb..e5e52b1f6 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -139,5 +139,7 @@
flockSync: __bootstrap.fs.flockSync,
funlock: __bootstrap.fs.funlock,
funlockSync: __bootstrap.fs.funlockSync,
+ refTimer: __bootstrap.timers.refTimer,
+ unrefTimer: __bootstrap.timers.unrefTimer,
};
})(this);