From da23f7f8763cab90fbbf37d9c7cddf3758d7d364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 20 Jan 2023 16:32:55 +0100 Subject: feat: Stabilize Deno.Listener.ref/unref (#17477) --- cli/tsc/dts/lib.deno.unstable.d.ts | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts') diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index e3ae8f46f..7ca089108 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1082,23 +1082,6 @@ declare namespace Deno { alpnProtocols?: string[]; } - /** @category Network */ - export interface Listener extends AsyncIterable { - /** **UNSTABLE**: New API, yet to be vetted. - * - * Make the listener block the event loop from finishing. - * - * Note: the listener blocks the event loop from finishing by default. - * This method is only meaningful after `.unref()` is called. - */ - ref(): void; - /** **UNSTABLE**: New API, yet to be vetted. - * - * Make the listener not block the event loop from finishing. - */ - unref(): void; - } - /** **UNSTABLE**: New API, yet to be vetted. * * Acquire an advisory file-system lock for the provided file. -- cgit v1.2.3