From c2127a86cb337149c7fb0589553534dc7fd6b807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 14 Jan 2024 18:04:33 +0100 Subject: [PATCH] feat: stabilize Deno.Conn.ref/unref (#21890) --- ext/net/lib.deno_net.d.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts index ab07094ce9..180d8897de 100644 --- a/ext/net/lib.deno_net.d.ts +++ b/ext/net/lib.deno_net.d.ts @@ -70,18 +70,13 @@ declare namespace Deno { * callers should just use `close()`. */ closeWrite(): Promise; - /** **UNSTABLE**: New API, yet to be vetted. - * - * Make the connection block the event loop from finishing. + /** Make the connection block the event loop from finishing. * * Note: the connection 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 connection not block the event loop from finishing. - */ + /** Make the connection not block the event loop from finishing. */ unref(): void; readonly readable: ReadableStream;