Module

std/signal/mod.ts

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

Functions

f
onSignal
deprecated

Registers a callback function to be called on triggering of a signal event.

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.