Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/timers/mod.ts>Timer#ref

All timing functions you need - long and async timeouts, intervals, promise timeouts and more
Latest
method Timer.prototype.ref
import { Timer } from "https://deno.land/x/timers@v0.2.3/mod.ts";

makes the process not continue to run as long as the timer exists