Skip to main content
Module

std/signal/mod.ts

Deno standard library
Go to Latest
Deprecated

(will be removed in 1.0.0) Use the [Deno Signals API]https://docs.deno.com/runtime/tutorials/os_signals directly instead.

import * as mod from "https://deno.land/std@0.209.0/signal/mod.ts";

Higher level API for dealing with OS signals.

Functions

f
signal
deprecated

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.