LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::detail::GetPromise< R, Extensions > Struct Template Reference

#include "task.h"

Public Types

using Promise = typename Task<R, Extensions...>::promise_type
 

Public Member Functions

bool await_ready () const noexcept
 
bool await_suspend (std::coroutine_handle< Promise > handle) const noexcept
 
decltype(auto) await_resume () const noexcept
 

Public Attributes

PromisePromise_ = nullptr
 

Detailed Description

template<typename R, template< typename > typename... Extensions>
struct LC::Util::detail::GetPromise< R, Extensions >

Definition at line 197 of file task.h.

Member Typedef Documentation

◆ Promise

template<typename R, template< typename > typename... Extensions>
using LC::Util::detail::GetPromise< R, Extensions >::Promise = typename Task<R, Extensions...>::promise_type

Definition at line 199 of file task.h.

Member Function Documentation

◆ await_ready()

template<typename R, template< typename > typename... Extensions>
bool LC::Util::detail::GetPromise< R, Extensions >::await_ready ( ) const
inlinenoexcept

Definition at line 202 of file task.h.

◆ await_resume()

template<typename R, template< typename > typename... Extensions>
decltype(auto) LC::Util::detail::GetPromise< R, Extensions >::await_resume ( ) const
inlinenoexcept

Definition at line 210 of file task.h.

References await_resume(), and Promise_.

Referenced by await_resume().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ await_suspend()

template<typename R, template< typename > typename... Extensions>
bool LC::Util::detail::GetPromise< R, Extensions >::await_suspend ( std::coroutine_handle< Promise > handle) const
inlinenoexcept

Definition at line 204 of file task.h.

References Promise_.

Member Data Documentation

◆ Promise_

template<typename R, template< typename > typename... Extensions>
Promise* LC::Util::detail::GetPromise< R, Extensions >::Promise_ = nullptr

Definition at line 200 of file task.h.

Referenced by await_resume(), and await_suspend().


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