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

#include <yield.hpp>

Public Member Functions

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 9 of file yield.hpp.

Member Function Documentation

◆ await_ready()

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

Definition at line 11 of file yield.hpp.

◆ await_resume()

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

Definition at line 22 of file yield.hpp.

◆ await_suspend()

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

Definition at line 16 of file yield.hpp.

References YACLIB_ASSERT.


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