1 2 3 4 5 6 7 8 9 10 11
local wakeup = require("wakeup") return function () tmr.create():alarm( 1000, tmr.ALARM_AUTO, function (timer) wakeup:step(timer) collectgarbage() end) end