Skip to main content
Module

x/timers/mod.ts>after

All timing functions you need - for Deno and the browser
Go to Latest
function after
import { after } from "https://deno.land/x/timers@v0.2.0/mod.ts";

Examples

Example 1

import { every } from "https://deno.land/x/timers@v0.2.0/mod.ts";

after("1min").do(() => {
  console.log(new Date().toLocaleTimeString());
});

Type Parameters

optional
T extends any[] = any[]

Parameters

time: string | number
optional
options: TimeoutOptions<T> = [UNSUPPORTED]