-
#include "tensorstore/transaction.h" - Future<const void> tensorstore::Transaction::future() const;
Returns a
Futurethat becomes ready when the transaction is committed or aborted. Forcing the returnedFutureis equivalent to callingCommitAsync.If the transaction was aborted, the
Futurecompletes with an error status ofabsl::StatusCode::kCancelled.