-- some_module.lua

local timer = require("timer")

local timer_id = timer.set_interval(1000, "HUB:handler", { arg_name = "arg_value" })				
			
				
					-- handler.lua

params = ...

local timer = require("timer")

print(params.arg_name)

timer.cancel(params.timerId)