summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index cdd3c11c7..97d3fed04 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -3560,4 +3560,18 @@ declare namespace Deno {
| SRVRecord[]
| string[][]
>;
+
+ /**
+ * Make the timer of the given `id` block the event loop from finishing.
+ *
+ * @category Timers
+ */
+ export function refTimer(id: number): void;
+
+ /**
+ * Make the timer of the given `id` not block the event loop from finishing.
+ *
+ * @category Timers
+ */
+ export function unrefTimer(id: number): void;
}