local function i(i,k,b)assert(type(i)=="\110\117\109\098\101\114","\116\105\109\101\111\117\116\073\110\083\101\099\111\110\100\115 \105\115 \110\111\116 \097 \110\117\109\098\101\114")assert(type(k)=="\102\117\110\099\116\105\111\110","\102\117\110\099 \105\115 \110\111\116 \097 \102\117\110\099\116\105\111\110")local O=ThrottledFunction.new(i,k,b)return function(...)O:Call(...)end end return i

local function throttle(timeoutInSeconds, func, throttleConfig)
	assert(type(timeoutInSeconds) == "number", "timeoutInSeconds is not a number")
	assert(type(func) == "function", "func is not a function")

	local throttled = ThrottledFunction.new(timeoutInSeconds, func, throttleConfig)

	return function(...)
		throttled:Call(...)
	end
end

return throttle
