Table of Contents

Class NatsKVWatchOpts

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

Key Value Store watch options

public record NatsKVWatchOpts : IEquatable<NatsKVWatchOpts>
Inheritance
NatsKVWatchOpts
Implements
Inherited Members

Fields

Default

Default watch options

Properties

IdleHeartbeat

Idle heartbeat interval

IgnoreDeletes

Ignore deletes of the entries

IncludeHistory

Include history of the entries

MetaOnly

Meta only to get the metadata of the entries

OnNoData

Async function called when the enumerator reaches the end of data. Return True to break the async enumeration, False to allow the enumeration to continue.

ResumeAtRevision

The revision to start from, if set to 0 (default) this will be ignored. Setting this to a non-zero value will cause the watcher to throw InvalidOperationException if the values for IncludeHistory and/or UpdatesOnly are set.

UpdatesOnly

Only retrieve updates, not current values