#include "tensorstore/util/future.h"
template <typename... Futures>
  
requires (
      
(std::is_base_of_v<AnyFuture, std::remove_cvref_t<Futures>> &&
      
 ...))
Future<void> tensorstore::WaitAllFuture(Futures&&... future);

Creates a future tied to the completion of all the provided future objects.

As with the Link variants. the first error result encountered among the future objects will be automatically propagated. Unlike Link, there is no mechanism to remove the link.

Parameters:
Futures&&... future

The futures to be linked.

Returns:

A Future propagating any error state.