Created
October 23, 2019 09:57
-
-
Save rusco/4305554e12146aac820472583f2c8ccd to your computer and use it in GitHub Desktop.
Timeout Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pause = ms => new Promise(resolve => setTimeout(resolve, ms)); | |
await pause(400); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment