function Promise.prototype.andThenReturn(U,...)local H,X=pack(...)return U:_andThen(debug.traceback(nil,2),function()return unpack(X,1,H)end)end Promise.prototype.AndThenReturn=Promise.prototype.andThenReturn Promise.prototype.ThenReturn=Promise.prototype.andThenReturn

function Promise.prototype:andThenReturn(...)
	local length, values = pack(...)
	return self:_andThen(debug.traceback(nil, 2), function()
		return unpack(values, 1, length)
	end)
end
Promise.prototype.AndThenReturn = Promise.prototype.andThenReturn
Promise.prototype.ThenReturn = Promise.prototype.andThenReturn
