Skip to content

Halt script execution for given number of miliseconds

License

Notifications You must be signed in to change notification settings

myconode/delay-ms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status npm version

Dependency Status devDependency Status

Delay

Halt script execution for given number of milliseconds

const delay = require('delay-ms')

console.log("Hello..")
delay(2000)
console.log("..World")
  • Made for micrco-controllers running Javascript, such as the Tessel
  • Inspired by Arduino's built-in delay

About

Halt script execution for given number of miliseconds

Resources

License

Stars

Watchers

Forks

Packages

No packages published