From dc7ad57c845cc9b1b502e5e8b12ce96af4183dc4 Mon Sep 17 00:00:00 2001 From: vman Date: Fri, 18 Nov 2022 17:15:36 -0500 Subject: Add project files. --- VNLib.Data.Caching/src/WaitForChangeResult.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 VNLib.Data.Caching/src/WaitForChangeResult.cs (limited to 'VNLib.Data.Caching/src/WaitForChangeResult.cs') diff --git a/VNLib.Data.Caching/src/WaitForChangeResult.cs b/VNLib.Data.Caching/src/WaitForChangeResult.cs new file mode 100644 index 0000000..a309c7c --- /dev/null +++ b/VNLib.Data.Caching/src/WaitForChangeResult.cs @@ -0,0 +1,21 @@ +namespace VNLib.Data.Caching +{ + /// + /// The result of a cache server change event + /// + public readonly struct WaitForChangeResult + { + /// + /// The operation status code + /// + public readonly string Status { get; init; } + /// + /// The current (or old) id of the element that changed + /// + public readonly string CurrentId { get; init; } + /// + /// The new id of the element that changed + /// + public readonly string NewId { get; init; } + } +} -- cgit