HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
v1::notifier< Result(Args...)>::awaiter_type Class Reference

#include <hikogui/notifier.hpp>

Public Member Functions

constexpr awaiter_type (awaiter_type const &) noexcept=default
 
constexpr awaiter_type (awaiter_type &&) noexcept=default
 
constexpr awaiter_type & operator= (awaiter_type const &) noexcept=default
 
constexpr awaiter_type & operator= (awaiter_type &&) noexcept=default
 
constexpr awaiter_type (notifier &notifier) noexcept
 
constexpr bool await_ready () noexcept
 
void await_suspend (std::coroutine_handle<> handle) noexcept
 
constexpr void await_resume () const noexcept
 
constexpr auto await_resume () const noexcept
 
constexpr auto await_resume () const noexcept
 
bool operator== (awaiter_type const &rhs) const noexcept
 

Detailed Description

template<typename Result, typename... Args>
class v1::notifier< Result(Args...)>::awaiter_type

An awaiter object which can wait on a notifier.

When this object is awaited on a callback to this object is created with the associated notifier. This allows a co-routine that awaits on this object to be resumed.


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