diff options
author | crowlKats <crowlkats@gmail.com> | 2020-03-13 10:22:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 10:22:22 +0100 |
commit | e435c2be158ce8657dbff0664b6db222fe4e586c (patch) | |
tree | b0e72033be2ce51a70fd2c2af23e6da131a642bb /cli/js/ops/net.ts | |
parent | 3ac642c183981a366e1db565c16b81f864b07ee4 (diff) |
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/js/ops/net.ts')
-rw-r--r-- | cli/js/ops/net.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/js/ops/net.ts b/cli/js/ops/net.ts index a026189d2..a108e1c72 100644 --- a/cli/js/ops/net.ts +++ b/cli/js/ops/net.ts @@ -13,14 +13,6 @@ export enum ShutdownMode { ReadWrite // unused } -/** Shut down socket send and receive operations. - * - * Matches behavior of POSIX shutdown(3). - * - * const listener = Deno.listen({ port: 80 }); - * const conn = await listener.accept(); - * Deno.shutdown(conn.rid, Deno.ShutdownMode.Write); - */ export function shutdown(rid: number, how: ShutdownMode): void { sendSync("op_shutdown", { rid, how }); } |