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

#include <await_on_awaiter.hpp>

Public Member Functions

template<typename... Cores>
 AwaitOnAwaiter (IExecutor &e, Cores &... cores) noexcept
 
template<typename It >
 AwaitOnAwaiter (IExecutor &e, It it, std::size_t count) 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

Definition at line 78 of file await_on_awaiter.hpp.

Constructor & Destructor Documentation

◆ AwaitOnAwaiter() [1/2]

template<typename... Cores>
yaclib::detail::AwaitOnAwaiter< false >::AwaitOnAwaiter ( IExecutor e,
Cores &...  cores 
)
explicitnoexcept

Definition at line 110 of file await_on_awaiter.hpp.

References yaclib::MakeContract().

◆ AwaitOnAwaiter() [2/2]

template<typename It >
yaclib::detail::AwaitOnAwaiter< false >::AwaitOnAwaiter ( IExecutor e,
It  it,
std::size_t  count 
)
explicitnoexcept

Definition at line 119 of file await_on_awaiter.hpp.

References yaclib::MakeContract().

Member Function Documentation

◆ await_ready()

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

Definition at line 86 of file await_on_awaiter.hpp.

◆ await_resume()

constexpr void yaclib::detail::AwaitOnAwaiter< false >::await_resume ( ) const
inlineconstexprnoexcept

Definition at line 101 of file await_on_awaiter.hpp.

◆ await_suspend()

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

Definition at line 91 of file await_on_awaiter.hpp.


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