Table of Contents

Property OnNoData

Namespace
NATS.Client.ObjectStore
Assembly
NATS.Client.ObjectStore.dll

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.

public Func<CancellationToken, ValueTask<bool>>? OnNoData { get; init; }

Property Value

Func<CancellationToken, ValueTask<bool>>