Module register_timer.lua

📑 Source

See also

Usage

local after = register_timer({
  name = "hello",
  action = function(name)
    print("Hello " .. name)
  end
})

local cancel = after(5 "world")

cancel()