after many trys i fund the solution i created the object that contain the timer and the 2 methods start and stop

var newLocal = null; const myAction = { timer: newLocal, start : function (timerr) { return this.timer = setTimeout(function(){ node.warn (cmd_build("circuit",1)); }, timerr); }, stop : function (timer) { return clearTimeout(timer); }, }