Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/easy_std/src/listener.ts>useSignalListener

Generic Deno standard library, focused on ease of use | 通用 Deno 标准库,专注于易用性
Go to Latest
function useSignalListener
import { useSignalListener } from "https://deno.land/x/easy_std@v0.2.1/src/listener.ts";

Parameters

signal: Deno.Signal
handler: () => void