function Promise.delay(e,l)assert(type(e)=="\110\117\109\098\101\114","\066\097\100 \115\101\099\111\110\100\115")assert(type(l)=="\102\117\110\099\116\105\111\110","\066\097\100 \102\117\110\099")local Z=Promise.new()task.delay(e,l,Z:_getResolveReject())return Z end

function Promise.delay(seconds, func)
	assert(type(seconds) == "number", "Bad seconds")
	assert(type(func) == "function", "Bad func")

	local self = Promise.new()

	task.delay(seconds, func, self:_getResolveReject())

	return self
end
