From 21dfeea3c48cf6101d71b39a1d2b0f9406818300 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 13 Jun 2022 15:28:00 -0400 Subject: Remove unstable Deno.sleepSync (#14719) Co-authored-by: David Sherret --- cli/dts/lib.deno.unstable.d.ts | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'cli/dts') diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 12f53b784..7ebd80422 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -751,17 +751,6 @@ declare namespace Deno { mtime: number | Date, ): Promise; - /** **UNSTABLE**: new API, yet to be vetted. - * - * SleepSync puts the main thread to sleep synchronously for a given amount of - * time in milliseconds. - * - * ```ts - * Deno.sleepSync(10); - * ``` - */ - export function sleepSync(millis: number): void; - /** **UNSTABLE**: new API, yet to be vetted. * * A generic transport listener for message-oriented protocols. */ -- cgit v1.2.3