node-wait
v0.1.1
Published
A node module to block js thread for given time
Downloads
1
Readme
node-wait
Provide a function to block js thread for given time.
const wait = require('node-wait')
const start = Date.now()
wait(1000)
console.log(Date.now() - start)
// 1003