diff options
author | vman <public@vaughnnugent.com> | 2022-11-18 17:15:36 -0500 |
---|---|---|
committer | vman <public@vaughnnugent.com> | 2022-11-18 17:15:36 -0500 |
commit | dc7ad57c845cc9b1b502e5e8b12ce96af4183dc4 (patch) | |
tree | 0ac786ac1fe0f1c7cc96c81c92363e6f760d036a /VNLib.Data.Caching/src/WaitForChangeResult.cs | |
parent | 647ee25d7f71d3984a951a83a73b7c1aa506a402 (diff) |
Add project files.
Diffstat (limited to 'VNLib.Data.Caching/src/WaitForChangeResult.cs')
-rw-r--r-- | VNLib.Data.Caching/src/WaitForChangeResult.cs | 21 |
1 files changed, 21 insertions, 0 deletions
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 +{ + /// <summary> + /// The result of a cache server change event + /// </summary> + public readonly struct WaitForChangeResult + { + /// <summary> + /// The operation status code + /// </summary> + public readonly string Status { get; init; } + /// <summary> + /// The current (or old) id of the element that changed + /// </summary> + public readonly string CurrentId { get; init; } + /// <summary> + /// The new id of the element that changed + /// </summary> + public readonly string NewId { get; init; } + } +} |