-- Compiled with roblox-ts v1.3.3
local TS = _G[script]
local DatalinkService = TS.import(script, script.Parent.Parent.Parent.Parent)
local REQUEST_SIZE = 0
local customEventTest
do
	customEventTest = setmetatable({}, {
		__tostring = function()
			return "customEventTest"
		end,
	})
	customEventTest.__index = customEventTest
	function customEventTest.new(...)
		local self = setmetatable({}, customEventTest)
		return self:constructor(...) or self
	end
	function customEventTest:constructor()
	end
	function customEventTest:countDownFrom(x)
		do
			local index = 1
			local _shouldIncrement = false
			while true do
				if _shouldIncrement then
					local _ = index
				else
					_shouldIncrement = true
				end
				if not (x ~= 0 and (x == x and x)) then
					break
				end
				print(script.Name, x - index)
				task.wait(1)
			end
		end
	end
	function customEventTest:run()
		do
			local _index = 1
			local _shouldIncrement = false
			while true do
				local index = _index
				if _shouldIncrement then
					index += 1
				else
					_shouldIncrement = true
				end
				if not (REQUEST_SIZE ~= 0 and (REQUEST_SIZE == REQUEST_SIZE and REQUEST_SIZE)) then
					break
				end
				task.spawn(function()
					DatalinkService:FireLogEvent(Enum.AnalyticsLogLevel.Error, "Error Message", "Error Trace"):Then(function()
						print("Completed", index)
					end)
				end)
				_index = index
			end
		end
		return true
	end
end
return {
	customEventTest = customEventTest,
}
