function Promise.prototype.finallyReturn(f,...)local G,m=pack(...)return f:_finally(debug.traceback(nil,2),function()return unpack(m,1,G)end)end Promise.prototype.FinallyReturn=Promise.prototype.finallyReturn
--[[
	Shorthand for a finally handler that returns the given value.
]]
function Promise.prototype:finallyReturn(...)
	local length, values = pack(...)
	return self:_finally(debug.traceback(nil, 2), function()
		return unpack(values, 1, length)
	end)
end
Promise.prototype.FinallyReturn = Promise.prototype.finallyReturn
