aboutsummaryrefslogtreecommitdiff
path: root/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-11-02 01:50:05 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-11-02 01:50:05 -0400
commitd2d812213b99ee17f9433f81871b694c4053ff23 (patch)
tree11a1106602112c134e65bf197ef701d1b8d63b67 /lib/VNLib.Data.Caching/src/WaitForChangeResult.cs
parent483c014b938e2d55ea7c89b67f6d19ba2c2d5b5e (diff)
also carried away
Diffstat (limited to 'lib/VNLib.Data.Caching/src/WaitForChangeResult.cs')
-rw-r--r--lib/VNLib.Data.Caching/src/WaitForChangeResult.cs23
1 files changed, 15 insertions, 8 deletions
diff --git a/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs b/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs
index fe4f22f..18428ce 100644
--- a/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs
+++ b/lib/VNLib.Data.Caching/src/WaitForChangeResult.cs
@@ -27,14 +27,21 @@ namespace VNLib.Data.Caching
/// <summary>
/// The result of a cache server change event
/// </summary>
- /// <param name="Status">The operation status code</param>
- /// <param name="CurrentId">The current (or old) id of the element that changed</param>
- /// <param name="NewId">The new id of the element that changed</param>
- public readonly record struct WaitForChangeResult(
- string Status,
- string CurrentId,
- string NewId)
+ public sealed record class WaitForChangeResult
{
-
+ /// <summary>
+ /// The operation status code
+ /// </summary>
+ public string? Status { get; set; }
+
+ /// <summary>
+ /// The current (or old) id of the element that changed
+ /// </summary>
+ public string? CurrentId { get; set; }
+
+ /// <summary>
+ /// The new id of the element that changed
+ /// </summary>
+ public string? NewId { get; set; }
}
}