YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::AwaitSingleAwaiter< V, E > Class Template Referencefinal

#include <await_awaiter.hpp>

Public Member Functions

 AwaitSingleAwaiter (ResultCorePtr< V, E > &&result) noexcept
 
YACLIB_INLINE bool await_ready () const noexcept
 
template<typename Promise >
YACLIB_INLINE bool await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept
 
auto await_resume ()
 

Detailed Description

template<typename V, typename E>
class yaclib::detail::AwaitSingleAwaiter< V, E >

Definition at line 164 of file await_awaiter.hpp.

Constructor & Destructor Documentation

◆ AwaitSingleAwaiter()

template<typename V , typename E >
yaclib::detail::AwaitSingleAwaiter< V, E >::AwaitSingleAwaiter ( ResultCorePtr< V, E > &&  result)
inlineexplicitnoexcept

Definition at line 166 of file await_awaiter.hpp.

Member Function Documentation

◆ await_ready()

template<typename V , typename E >
YACLIB_INLINE bool yaclib::detail::AwaitSingleAwaiter< V, E >::await_ready ( ) const
inlinenoexcept

Definition at line 170 of file await_awaiter.hpp.

◆ await_resume()

template<typename V , typename E >
auto yaclib::detail::AwaitSingleAwaiter< V, E >::await_resume ( )
inline

Definition at line 179 of file await_awaiter.hpp.

◆ await_suspend()

template<typename V , typename E >
template<typename Promise >
YACLIB_INLINE bool yaclib::detail::AwaitSingleAwaiter< V, E >::await_suspend ( yaclib_std::coroutine_handle< Promise handle)
inlinenoexcept

Definition at line 175 of file await_awaiter.hpp.


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