Skip to content

themez/node-wait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Provide a function to block js thread for given time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published