nats-io/nats.rs

async-nats is missing a `GetRevision` equivalent

protochron opened this issue · 1 comments

Proposed change

A Store in the async-nats KV client should support the equivalent GetRevision call that other language SDKs support. history is a workaround of course, but there's no reason to use it if you're only looking for a specific key revision.

Use case

Parity with other NATS SDKs, better ergonomics for interacting with KV buckets.

Contribution

No response

Hey.
Yes, this will be part of next release.
In the meantime, the cleaner version is to use direct_get on stram.