Apache Mesos
Classes | Namespaces | Functions
collect.hpp File Reference
#include <functional>
#include <list>
#include <tuple>
#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::list< T > > process::collect (const std::list< Future< T >> &futures)
 
template<typename... Ts>
Future< std::tuple< Ts...> > process::collect (const Future< Ts > &...futures)
 
template<typename T >
Future< std::list< Future< T > > > process::await (const std::list< 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)