-
#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>>
, whereU
isT
orconst U
isT
.If
result
is in an error state, constructs a ready future fromresult.status()
. Otherwise, constructs from*result
.