0.1.1 • Published 5 years ago
node-wait v0.1.1
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
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