Skip to content

Provide a function to block js thread for given time.

Notifications You must be signed in to change notification settings

themez/node-wait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

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