TransactionGetResult - get CAS

how do I get CAS from TransactionGetResult object? There was a cas() method in couchbase-transactions.

Hi @paralen
Yes this was removed in the SDK integrated version of transactions. We took the opportunity to tidy up the API, and we couldn’t see a need to expose the CAS value. The TransactionGetResult, after all, gets passed directly to the ctx.replace() or ctx.remove(), and write-write conflict handling (which CAS is part of) all gets handled internally there. And it’s not possible to store the CAS and use it outside of the lambda, since the document will have been committed since then, which will have updated its CAS.
Could you let me know the use-case for needing CAS?