Is it possible to make Scriptable pause before doing the next step of execution?
What I’m trying to do is, for instance, log(1) and after five seconds, log(2)
Is it possible to make Scriptable pause before doing the next step of execution?
What I’m trying to do is, for instance, log(1) and after five seconds, log(2)
Couldn’t make it works
function logBar()
{
console.log("bar")
}
console.log("foo")
let tm = new Timer()
tm.timeInterval = 5000
tm.schedule(logBar)
Thank you so much!