local V=(require(script.Parent.loader)).load(script)local S=V("\080\114\111\109\105\115\101")return function(V)return S.new(function(S,W)task.delay(V,function()S()end)end)end
--[=[
	Wraps the wait()/delay() API in a promise

	@class promiseWait
]=]

local require = require(script.Parent.loader).load(script)

local Promise = require("Promise")

return function(time)
	return Promise.new(function(resolve, _)
		task.delay(time, function()
			resolve()
		end)
	end)
end
