-
#include "tensorstore/util/future.h" -
template <typename PromiseValue, typename... Futures>
FutureCallbackRegistration
tensorstore::LinkError(Promise<PromiseValue> promise,
Futures&&... future); Creates a “link”, which ties a
promiseto one or morefutureobjects.Same as
Link, except that no callback function is called in the case that allfutureobjects are successfully resolved. The first error result encountered among thefutureobjects will be automatically propagated to thepromise.