mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
34537180c3
commit
4d99536ea7
@ -98,6 +98,7 @@ module.exports = function(RED) {
|
||||
func();
|
||||
},delay);
|
||||
node.outstandingTimers.push(timerId);
|
||||
return timerId;
|
||||
},
|
||||
clearTimeout: function(id) {
|
||||
clearTimeout(id);
|
||||
@ -109,6 +110,7 @@ module.exports = function(RED) {
|
||||
setInterval: function(func,delay) {
|
||||
var timerId = setInterval(func,delay);
|
||||
node.outstandingIntervals.push(timerId);
|
||||
return timerId;
|
||||
},
|
||||
clearInterval: function(id) {
|
||||
clearInterval(id);
|
||||
|
Loading…
Reference in New Issue
Block a user