-
#include "tensorstore/util/future.h"
- const absl::Status& tensorstore::Future<T>::status() const;
Returns a reference to the contained
absl::Status
.Equivalent to
result().status()
. CallsForce()
, waits for the result to be ready, and returns a reference to the containedabsl::Status
. If theFuture<T>
contains a value, then this function returnsabsl::OkStatus()
.