Skip to content

Instantly share code, notes, and snippets.

@benphelps
Created April 4, 2014 20:02
Show Gist options
  • Select an option

  • Save benphelps/9982103 to your computer and use it in GitHub Desktop.

Select an option

Save benphelps/9982103 to your computer and use it in GitHub Desktop.
local timer = lib:timer()
timer:setInterval(5)
timer:onAction(function()
return "event data"
end)
--[[
timer:onAction do
return "event data"
end
]]--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment