LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::detail::FinalSuspender< Promise > Struct Template Reference

#include "finalsuspender.h"

Public Member Functions

bool await_ready () const noexcept
void await_suspend (std::coroutine_handle<>) noexcept
void await_resume () const noexcept

Public Attributes

Promise & Promise_

Detailed Description

template<typename Promise>
struct LC::Util::detail::FinalSuspender< Promise >

Definition at line 16 of file finalsuspender.h.

Member Function Documentation

◆ await_ready()

template<typename Promise>
bool LC::Util::detail::FinalSuspender< Promise >::await_ready ( ) const
inlinenoexcept

Definition at line 20 of file finalsuspender.h.

◆ await_resume()

template<typename Promise>
void LC::Util::detail::FinalSuspender< Promise >::await_resume ( ) const
inlinenoexcept

Definition at line 30 of file finalsuspender.h.

◆ await_suspend()

template<typename Promise>
void LC::Util::detail::FinalSuspender< Promise >::await_suspend ( std::coroutine_handle<> )
inlinenoexcept

Definition at line 22 of file finalsuspender.h.

References Promise_.

Member Data Documentation

◆ Promise_

template<typename Promise>
Promise& LC::Util::detail::FinalSuspender< Promise >::Promise_

Definition at line 18 of file finalsuspender.h.

Referenced by await_suspend().


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/util/threads/coro/finalsuspender.h