blob: 5c0d2bb862597b1d27f51c38c9a7993e3bfc283d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "wait.h"
namespace NThreading::NWait {
template <typename TFutures, typename TCallbackExecutor>
TFuture<void> WaitAll(TFutures const& futures, TSubscriptionManagerPtr manager = TSubscriptionManager::Default()
, TCallbackExecutor&& executor = TCallbackExecutor());
template <typename T, typename TCallbackExecutor>
TFuture<void> WaitAll(std::initializer_list<TFuture<T> const> futures, TSubscriptionManagerPtr manager = TSubscriptionManager::Default()
, TCallbackExecutor&& executor = TCallbackExecutor());
template <typename T, typename TCallbackExecutor>
TFuture<void> WaitAll(TFuture<T> const& future1, TFuture<T> const& future2, TSubscriptionManagerPtr manager = TSubscriptionManager::Default()
, TCallbackExecutor&& executor = TCallbackExecutor());
}
#define INCLUDE_LIBRARY_THREADING_FUTURE_WAIT_ALL_INL_H
#include "wait_all_inl.h"
#undef INCLUDE_LIBRARY_THREADING_FUTURE_WAIT_ALL_INL_H
|