MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ finish()

template<typename T = void>
void MayaFlux::Parallel::AsyncGroup< T >::finish ( std::future< T > &  f)
inlineprivate

Definition at line 151 of file AsyncGroup.hpp.

152 {
153 try {
154 if constexpr (std::is_void_v<T>) {
155 f.get();
156 } else {
157 (void)f.get();
158 }
159 } catch (...) {
160 report(std::current_exception());
161 }
162 }
void report(std::exception_ptr ep)

References MayaFlux::Parallel::AsyncGroup< T >::report().

Referenced by MayaFlux::Parallel::AsyncGroup< T >::drain(), and MayaFlux::Parallel::AsyncGroup< T >::submit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: