mirror of https://github.com/IoTcat/FDC.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
359 B
23 lines
359 B
var lt = require('./') |
|
|
|
/* |
|
Timeouts |
|
*/ |
|
lt.setTimeout(function() { |
|
console.log('in a long time') |
|
}, Number.MAX_VALUE) |
|
|
|
lt.setTimeout(function() { |
|
console.log('2 seconds') |
|
}, 2000) |
|
|
|
/* |
|
Intervals |
|
*/ |
|
lt.setInterval(function() { |
|
console.log('long interval') |
|
}, Number.MAX_VALUE) |
|
|
|
lt.setInterval(function() { |
|
console.log("2 second interval") |
|
}, 2000)
|
|
|