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
/
sleep
/
usage-example.ts
🦕 module for sleep. You can sleep for a specific amount of time or you can sleep for a random amount of time with this.
michael-spengler/sleep
Popular
Version
Latest
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
Menu
mod.ts
(default module)
f
sleep
f
sleepRandomAmountOfSeconds
sleep.ts
f
sleep
f
sleepRandomAmountOfSeconds
usage-example-advanced.ts
usage-example.ts
This module does not provide any exports.