Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::async::YieldAwaiter Struct Reference

Awaitable that yields control back to the caller/event loop once. More...

#include <Delay.hpp>

+ Collaboration diagram for corium::async::YieldAwaiter:

Public Member Functions

constexpr bool await_ready () const noexcept
 
constexpr void await_resume () const noexcept
 
void await_suspend (std::coroutine_handle<> handle) const noexcept
 

Detailed Description

Awaitable that yields control back to the caller/event loop once.

Member Function Documentation

◆ await_ready()

constexpr bool corium::async::YieldAwaiter::await_ready ( ) const
inlineconstexprnoexcept

◆ await_resume()

constexpr void corium::async::YieldAwaiter::await_resume ( ) const
inlineconstexprnoexcept

◆ await_suspend()

void corium::async::YieldAwaiter::await_suspend ( std::coroutine_handle<>  handle) const
inlinenoexcept

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