C/C++ API Reference
Loading...
Searching...
No Matches
Futures

Overview

Values that may not be ready yet.

Learn more: Futures

Classes

class  pw::async2::Future< Derived, T >
 
struct  pw::async2::is_future< T, typename >
 
struct  pw::async2::is_future< T, std::void_t< typename T::value_type, decltype(std::declval< T & >().Pend(std::declval< Context & >())), decltype(std::declval< const T & >().is_complete())> >
 
class  pw::async2::ListFutureProvider< FutureType, Lock >
 
class  pw::async2::SingleFutureProvider< FutureType >
 
class  pw::async2::ListableFutureWithWaker< Derived, T >
 
class  pw::async2::ValueFuture< T >
 
class  pw::async2::ValueFuture< void >
 
class  pw::async2::BroadcastValueProvider< T >
 
class  pw::async2::ValueProvider< T >
 

Typedefs

using pw::async2::VoidFuture = ValueFuture< void >
 A ValueFuture that does not return any value, just a completion signal.
 

Variables

template<typename T >
constexpr bool pw::async2::is_future_v
 

Variable Documentation

◆ is_future_v

template<typename T >
constexpr bool pw::async2::is_future_v
constexpr
Initial value:
=
is_future<std::remove_cv_t<std::remove_reference_t<T>>>::value