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

#include <current_executor.hpp>

Public Member Functions

constexpr bool await_ready () const noexcept
 
template<typename Promise >
YACLIB_INLINE auto await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept
 
YACLIB_INLINE IExecutorawait_resume () const noexcept
 

Detailed Description

template<bool Yield>
class yaclib::detail::CurrentAwaiter< Yield >

Definition at line 10 of file current_executor.hpp.

Member Function Documentation

◆ await_ready()

template<bool Yield>
constexpr bool yaclib::detail::CurrentAwaiter< Yield >::await_ready ( ) const
inlineconstexprnoexcept

Definition at line 12 of file current_executor.hpp.

◆ await_resume()

template<bool Yield>
YACLIB_INLINE IExecutor & yaclib::detail::CurrentAwaiter< Yield >::await_resume ( ) const
inlinenoexcept

Definition at line 28 of file current_executor.hpp.

◆ await_suspend()

template<bool Yield>
template<typename Promise >
YACLIB_INLINE auto yaclib::detail::CurrentAwaiter< Yield >::await_suspend ( yaclib_std::coroutine_handle< Promise handle)
inlinenoexcept

Definition at line 17 of file current_executor.hpp.

References YACLIB_ASSERT.


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