I would like to create a timer using Lua, in a way that I could specify a callback function to be triggered after X seconds have passed.
What would be the best way t
If it's acceptable for you, you can try LuaNode. The following code sets a timer:
setInterval(function() console.log("I run once a minute") end, 60000) process:loop()