summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2021-01-14 20:32:27 -0800
committerBert Belder <bertbelder@gmail.com>2021-01-29 01:35:07 -0800
commit98878bd81231a631c494b6767576097f945eb813 (patch)
treef66f027cf9692548696a7ce5417fba60cec51f60 /cli/dts/lib.deno.ns.d.ts
parentc8a5e3c1e485915880bd5ed10438ac87baf4a80b (diff)
refactor: IO resource types, fix concurrent read/write and graceful close (#9118)
Fixes: 9032.
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index 8026d934a..f8ec0c7f3 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -1710,9 +1710,9 @@ declare namespace Deno {
readonly remoteAddr: Addr;
/** The resource ID of the connection. */
readonly rid: number;
- /** Shuts down (`shutdown(2)`) the writing side of the TCP connection. Most
+ /** Shuts down (`shutdown(2)`) the write side of the connection. Most
* callers should just use `close()`. */
- closeWrite(): void;
+ closeWrite(): Promise<void>;
}
export interface ListenOptions {