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