summaryrefslogtreecommitdiff
path: root/cli/dts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index fd62a9486..e675b6347 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -1022,6 +1022,18 @@ declare namespace Deno {
* Release an advisory file-system lock for the provided file.
*/
export function funlockSync(rid: number): void;
+
+ /** **UNSTABLE**: new API, yet to be vetted.
+ *
+ * Make the timer of the given id blocking the event loop from finishing
+ */
+ export function refTimer(id: number): void;
+
+ /** **UNSTABLE**: new API, yet to be vetted.
+ *
+ * Make the timer of the given id not blocking the event loop from finishing
+ */
+ export function unrefTimer(id: number): void;
}
declare function fetch(