Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/lib.deno.unstable.d.ts>Deno.ShutdownMode

A modern runtime for JavaScript and TypeScript.
Go to Latest
enum Deno.ShutdownMode
import { Deno } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.unstable.d.ts";
const { ShutdownMode } = Deno;

UNSTABLE: Maybe remove ShutdownMode entirely.

Corresponds to SHUT_RD, SHUT_WR, SHUT_RDWR on POSIX-like systems.

See: http://man7.org/linux/man-pages/man2/shutdown.2.html

Members

Read = 0
ReadWrite
Write