Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/timers/src/Timer.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/src/Timer.ts";

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