Skip to content
TensorStore
tensorstore::Future<T>::result
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
          • Cspan
          • CUtf8String
          • CSmallBitSet
          • CMaybeHardConstraintSpan
          • CMaybeHardConstraintIndex
          • VIsCompatibleOptionSequence
          • Error handling
          • Asynchronous support
            • TExecutor
            • CPromise
            • CAnyFuture
            • CFuture
              • Types
              • Constructors
              • Methods
                • Foperator=
                • FIgnoreFuture
                • FExecuteWhenReady
                • Fresult
                  • Dchecks
                • Fvalue
              • Related Constants
              • Related Types
              • Related Functions
              • Linking
              • Map functions
            • CPromiseFuturePair
            • CWriteFutures
          • JSON serialization
          • Compile-time data type/rank/mode constraints
          • String Utilities
          • Index vectors
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Dchecks
    #include "tensorstore/util/future.h"
    std::add_lvalue_reference_t<result_type>
    tensorstore::Future<T>::result() const;

    Calls Force(), waits for the result to be ready, and returns a reference to the result.

    Dchecks:¶

    !null()

    Back to top
    Previous tensorstore::Future<T>::ExecuteWhenReady
    Next tensorstore::Future<T>::value