Awesome Lists

delay

by sindresorhus

JavaScriptpushed over 3 years ago

Delay a promise a specified amount of time

AI summary

Delay function

Allows delaying promises by a specified amount of time or a random range.

stars
609
forks
36
watching
17
awesome lists
3
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/sindresorhus/delay/links.svg)](https://awesome.facts.dev/awesome/sindresorhus/delay)
HTML
<a href="https://awesome.facts.dev/awesome/sindresorhus/delay"><img src="https://awesome.facts.dev/shield/sindresorhus/delay/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/sindresorhus/delay/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.