Skip to content

Commit

Permalink
Add note about Node.js 15
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 26, 2020
1 parent bcfc965 commit 5a43d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

> Delay a promise a specified amount of time
*If you target [Node.js 15](https://medium.com/@nodejs/node-js-v15-0-0-is-here-deb00750f278) or later, you can do `await require('timers/promises').setTimeout(1000)` instead.*

## Install

```
Expand Down

0 comments on commit 5a43d4f

Please sign in to comment.