function Promise.prototype.doneReturn(L,...)local W,f=pack(...)return L:_finally(debug.traceback(nil,2),function()return unpack(f,1,W)end,true)end Promise.prototype.DoneReturn=Promise.prototype.doneReturn

function Promise.prototype:doneReturn(...)
	local length, values = pack(...)
	return self:_finally(debug.traceback(nil, 2), function()
		return unpack(values, 1, length)
	end, true)
end
Promise.prototype.DoneReturn = Promise.prototype.doneReturn
