YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::OnAwaiter Class Referencefinal

#include <on_awaiter.hpp>

Public Member Functions

YACLIB_INLINE OnAwaiter (IExecutor &e) noexcept
 
constexpr bool await_ready () const noexcept
 
template<typename Promise >
YACLIB_INLINE void await_suspend (yaclib_std::coroutine_handle< Promise > handle) const noexcept
 
constexpr void await_resume () const noexcept
 

Detailed Description

Definition at line 10 of file on_awaiter.hpp.

Constructor & Destructor Documentation

◆ OnAwaiter()

YACLIB_INLINE yaclib::detail::OnAwaiter::OnAwaiter ( IExecutor e)
inlineexplicitnoexcept

Definition at line 12 of file on_awaiter.hpp.

Member Function Documentation

◆ await_ready()

constexpr bool yaclib::detail::OnAwaiter::await_ready ( ) const
inlineconstexprnoexcept

Definition at line 15 of file on_awaiter.hpp.

◆ await_resume()

constexpr void yaclib::detail::OnAwaiter::await_resume ( ) const
inlineconstexprnoexcept

Definition at line 26 of file on_awaiter.hpp.

◆ await_suspend()

template<typename Promise >
YACLIB_INLINE void yaclib::detail::OnAwaiter::await_suspend ( yaclib_std::coroutine_handle< Promise handle) const
inlinenoexcept

Definition at line 20 of file on_awaiter.hpp.


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