-
#include "tensorstore/util/future.h" -
template <typename U>
requires IsFutureConvertible<U, T>
tensorstore::Future<T>::Future(const Result<Future<U>>& result); Constructs a Future from a
Result<Future<U>>, whereUisTorconst UisT.If
resultis in an error state, constructs a ready future fromresult.status(). Otherwise, constructs from*result.