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.
x/deno/cli/js/lib.deno.unstable.d.ts>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.