|
HikoGUI
A low latency retained GUI
|
#include <hikogui/concurrency/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 ¬ifier) 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 |
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.