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

#include <await_awaiter.hpp>

Public Member Functions

 AwaitAwaiter (Handle caller) noexcept
 
YACLIB_INLINE bool await_ready () const noexcept
 
template<typename Promise >
YACLIB_INLINE bool await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept
 
constexpr void await_resume () const noexcept
 

Detailed Description

template<typename Handle>
struct yaclib::detail::AwaitAwaiter< Handle >

Definition at line 70 of file await_awaiter.hpp.

Constructor & Destructor Documentation

◆ AwaitAwaiter()

template<typename Handle >
yaclib::detail::AwaitAwaiter< Handle >::AwaitAwaiter ( Handle  caller)
inlineexplicitnoexcept

Definition at line 71 of file await_awaiter.hpp.

Member Function Documentation

◆ await_ready()

template<typename Handle >
YACLIB_INLINE bool yaclib::detail::AwaitAwaiter< Handle >::await_ready ( ) const
inlinenoexcept

Definition at line 74 of file await_awaiter.hpp.

◆ await_resume()

template<typename Handle >
constexpr void yaclib::detail::AwaitAwaiter< Handle >::await_resume ( ) const
inlineconstexprnoexcept

Definition at line 83 of file await_awaiter.hpp.

◆ await_suspend()

template<typename Handle >
template<typename Promise >
YACLIB_INLINE bool yaclib::detail::AwaitAwaiter< Handle >::await_suspend ( yaclib_std::coroutine_handle< Promise handle)
inlinenoexcept

Definition at line 79 of file await_awaiter.hpp.


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