Skip to main content
Pigweed's logo Pigweed
  1. Home
  2. Reference
  3. C/C++
  4. pw_async2
  5. Combinators
  6. pw::async2::JoinFuture< Futures > Class Template Reference
Loading...
Searching...
No Matches
pw::async2::JoinFuture< Futures > Class Template Reference

Public Types

using value_type = std::tuple< FutureValue< Futures >... >
 

Public Member Functions

bool is_pendable () const
 
bool is_complete () const
 
Poll< value_type > Pend (Context &cx)
 

Friends

template<typename... Fs>
constexpr auto Join (Fs &&...)
 

Member Function Documentation

◆ Pend()

template<typename... Futures>
Poll< value_type > pw::async2::JoinFuture< Futures >::Pend ( Context cx)
inline

Attempts to complete all of the futures, returning Ready with their results if all are complete.


The documentation for this class was generated from the following file: