SyntaxFix
Write A Post
Hire A Developer
Questions
use Node sleep package. https://www.npmjs.com/package/sleep.
in your code you can use
var sleep = require('sleep'); sleep.sleep(n)
to sleep for a specific n seconds.