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

#include <await_awaiter.hpp>

Public Member Functions

 TransferAwaiter (BaseCore &caller) noexcept
 
constexpr bool await_ready () const noexcept
 
template<typename Promise >
YACLIB_INLINE auto await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept
 
constexpr void await_resume () const noexcept
 

Detailed Description

Definition at line 11 of file await_awaiter.hpp.

Constructor & Destructor Documentation

◆ TransferAwaiter()

yaclib::detail::TransferAwaiter::TransferAwaiter ( BaseCore caller)
inlineexplicitnoexcept

Definition at line 12 of file await_awaiter.hpp.

Member Function Documentation

◆ await_ready()

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

Definition at line 15 of file await_awaiter.hpp.

◆ await_resume()

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

Definition at line 30 of file await_awaiter.hpp.

◆ await_suspend()

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

Definition at line 20 of file await_awaiter.hpp.

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


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