HikoGUI
A low latency retained GUI
|
#include <hikogui/dispatch/notifier.hpp>
Public Member Functions | |
constexpr | awaiter_type (awaiter_type &&) noexcept=default |
constexpr awaiter_type & | operator= (awaiter_type const &) noexcept=delete |
constexpr | awaiter_type (awaiter_type const &other) noexcept |
Copy the awaitable. | |
constexpr awaiter_type & | operator= (awaiter_type &&other) noexcept |
Copy the awaitable. | |
constexpr | awaiter_type (notifier ¬ifier) noexcept |
constexpr bool | await_ready () const 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 |
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.
|
inlineconstexprnoexcept |
Copy the awaitable.
This only copies the pointer to the notifier. The arguments to the notifier and the callback object are unset.
|
inlineconstexprnoexcept |
Copy the awaitable.
This only copies the pointer to the notifier. The arguments to the notifier and the callback object are reset.