Deno.Conn.closeWrite - Deno documentation
method Deno.Conn.closeWrite
Conn.closeWrite(): Promise<void>

Shuts down (shutdown(2)) the write side of the connection. Most callers should just use close().

Return Type

Promise<void>