Apache Mesos
Classes | Namespaces | Functions
collect.hpp File Reference
#include <functional>
#include <tuple>
#include <vector>
#include <process/check.hpp>
#include <process/defer.hpp>
#include <process/future.hpp>
#include <process/id.hpp>
#include <process/owned.hpp>
#include <process/process.hpp>
#include <stout/lambda.hpp>

Go to the source code of this file.

Classes

class  process::internal::CollectProcess< T >
 
class  process::internal::AwaitProcess< T >
 

Namespaces

 process
 
 process::internal
 

Functions

template<typename T >
Future< std::vector< T > > process::collect (const std::vector< Future< T >> &futures)
 
template<typename... Ts>
Future< std::tuple< Ts... > > process::collect (const Future< Ts > &...futures)
 
template<typename T >
Future< std::vector< Future< T > > > process::await (const std::vector< Future< T >> &futures)
 
template<typename... Ts>
Future< std::tuple< Future< Ts >... > > process::await (const Future< Ts > &...futures)
 
template<typename T >
Future< Future< T > > process::await (const Future< T > &future)