std@0.147.0/signal/mod.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.147.0/signal/mod.ts";

High level API for dealing with OS signals.

Functions

Generates an AsyncIterable which can be awaited on for one or more signals. dispose() can be called when you are finished waiting on the events.