Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
timers
/
src
/
After.ts
All timing functions you need - long and async timeouts, intervals, promise timeouts and more
apollo79/timers
Version
Latest
v0.2.3
v0.2.1
v0.2.0
v0.1.0
Menu
After.ts
c
After
Every.ts
c
Every
I
EveryOptions
Interval.ts
c
Interval
I
IntervalOptions
pTimeout.ts
c
TimeoutError
I
PTimeoutOptions
f
default
f
pTimeout
Timeout.ts
c
Timeout
I
TimeoutOptions
Timer.ts
c
Timer
I
TimerOptions
v
timers
util.ts
T
Epoch
v
epochs
v
regexp
f
strToMs
import
*
as
timers
from
"https://deno.land/x/timers@v0.2.3/src/After.ts"
;
Classes
c
After