diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-14 18:04:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 17:04:33 +0000 |
commit | c2127a86cb337149c7fb0589553534dc7fd6b807 (patch) | |
tree | cd0e6d5107fd5b922bcb6bc01107eb39f79ab998 | |
parent | 3298ca06f58db3b0ed75c3853e5b603ef8bd5f4d (diff) |
feat: stabilize Deno.Conn.ref/unref (#21890)
-rw-r--r-- | ext/net/lib.deno_net.d.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts index ab07094ce..180d8897d 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<void>; - /** **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<Uint8Array>; |