YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::AwaitOnAwaiter< Single > Struct Template Referencefinal

#include <await_on_awaiter.hpp>

Public Member Functions

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

Detailed Description

template<bool Single>
struct yaclib::detail::AwaitOnAwaiter< Single >

Definition at line 48 of file await_on_awaiter.hpp.

Constructor & Destructor Documentation

◆ AwaitOnAwaiter()

template<bool Single>
yaclib::detail::AwaitOnAwaiter< Single >::AwaitOnAwaiter ( IExecutor e,
BaseCore caller 
)
inlineexplicitnoexcept

Definition at line 49 of file await_on_awaiter.hpp.

Member Function Documentation

◆ await_ready()

template<bool Single>
constexpr bool yaclib::detail::AwaitOnAwaiter< Single >::await_ready ( ) const
inlineconstexprnoexcept

Definition at line 53 of file await_on_awaiter.hpp.

◆ await_resume()

template<bool Single>
constexpr void yaclib::detail::AwaitOnAwaiter< Single >::await_resume ( ) const
inlineconstexprnoexcept

Definition at line 69 of file await_on_awaiter.hpp.

◆ await_suspend()

template<bool Single>
template<typename Promise >
YACLIB_INLINE void yaclib::detail::AwaitOnAwaiter< Single >::await_suspend ( yaclib_std::coroutine_handle< Promise handle)
inlinenoexcept

Definition at line 58 of file await_on_awaiter.hpp.


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