Table of Contents

Struct NatsKVEntry<T>

Namespace
NATS.Client.KeyValueStore
Assembly
NATS.Client.KeyValueStore.dll

Key Value Store entry

public readonly record struct NatsKVEntry<T> : IEquatable<NatsKVEntry<T>>

Type Parameters

T

Serialized value type

Implements
Inherited Members

Constructors

NatsKVEntry(string, string)

Key Value Store entry

Properties

Bucket

Name of the bucket the entry is in.

Created

The time the data was put in the bucket.

Delta

Distance from the latest value.

Error

Any errors encountered while processing the message.

Key

The key that was retrieved.

Operation

The kind of operation that caused this entry.

Revision

A unique sequence for this value.

Value

The value that was retrieved.

Methods

EnsureSuccess()

Throws an exception if the message contains any errors.