diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-28 15:17:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 15:17:55 -0400 |
commit | ea28a088a473083cb759a3264235005a25450cbc (patch) | |
tree | 26a23ec5399638e2131eaacf5280830d17f98358 /cli/js/lib.deno.ns.d.ts | |
parent | f899d76667e9a3d96a685c2e920adf17a6d448bf (diff) |
Remove Conn.closeRead (#4970)
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index b73ad4c20..db89ed97f 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -1899,11 +1899,12 @@ declare namespace Deno { readonly remoteAddr: Addr; /** The resource ID of the connection. */ readonly rid: number; - /** Shuts down (`shutdown(2)`) the reading side of the TCP connection. Most - * callers should just use `close()`. */ - closeRead(): void; /** Shuts down (`shutdown(2)`) the writing side of the TCP connection. Most - * callers should just use `close()`. */ + * callers should just use `close()`. + * + * **Unstable** because of lack of testing and because Deno.shutdown is also + * unstable. + * */ closeWrite(): void; } |