Specialization for a future that does not return any value, just a completion signal.
Public Types | |
| using | Base = ListableFutureWithWaker< ValueFuture< void >, void > |
Public Types inherited from pw::async2::Future< Derived, T > | |
| using | value_type = std::conditional_t< std::is_void_v< T >, ReadyType, T > |
Public Member Functions | |
| ValueFuture (ValueFuture &&other) noexcept | |
| ValueFuture & | operator= (ValueFuture &&other) noexcept |
Public Member Functions inherited from pw::async2::ListableFutureWithWaker< ValueFuture< void >, void > | |
| ListableFutureWithWaker (const ListableFutureWithWaker &)=delete | |
| ListableFutureWithWaker & | operator= (const ListableFutureWithWaker &)=delete |
Public Member Functions inherited from pw::async2::Future< Derived, T > | |
| Poll< value_type > | Pend (Context &cx) |
| bool | is_complete () const |
Static Public Member Functions | |
| static ValueFuture | Resolved () |
Friends | |
| class | ValueProvider< void > |
| class | BroadcastValueProvider< void > |
Additional Inherited Members | |
Protected Types inherited from pw::async2::ListableFutureWithWaker< ValueFuture< void >, void > | |
| enum | ConstructedState |
| Tag to prevent accidental default construction. | |
| using | Lock = Provider |
Protected Member Functions inherited from pw::async2::ListableFutureWithWaker< ValueFuture< void >, void > | |
| ListableFutureWithWaker (ConstructedState state) | |
| ListableFutureWithWaker (ListFutureProvider< ValueFuture< void > > &provider) | |
| ListableFutureWithWaker (SingleFutureProvider< ValueFuture< void > > &single) | |
| void | MoveFrom (ListableFutureWithWaker &other) |
| ListFutureProvider< ValueFuture< void > > & | provider () |
| Lock & | lock () |
| void | Wake () |
| Wakes the task waiting on the future. | |
Protected Member Functions inherited from pw::containers::future::IntrusiveList< T >::Item | |
| constexpr | Item ()=default |