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

#include <await_awaiter.hpp>

Public Member Functions

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

Detailed Description

template<typename V, typename E>
struct yaclib::detail::TransferSingleAwaiter< V, E >

Definition at line 38 of file await_awaiter.hpp.

Constructor & Destructor Documentation

◆ TransferSingleAwaiter()

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

Definition at line 39 of file await_awaiter.hpp.

Member Function Documentation

◆ await_ready()

template<typename V , typename E >
constexpr bool yaclib::detail::TransferSingleAwaiter< V, E >::await_ready ( ) const
inlineconstexprnoexcept

Definition at line 43 of file await_awaiter.hpp.

◆ await_resume()

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

Definition at line 58 of file await_awaiter.hpp.

◆ await_suspend()

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

Definition at line 48 of file await_awaiter.hpp.

References yaclib::detail::Loop(), and yaclib::detail::MoveToCaller().


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