proxygen
folly::coro::detail::BlockingWaitPromiseBase Class Reference

#include <BlockingWait.h>

Inheritance diagram for folly::coro::detail::BlockingWaitPromiseBase:
folly::coro::detail::BlockingWaitPromise< T > folly::coro::detail::BlockingWaitPromise< T & > folly::coro::detail::BlockingWaitPromise< void >

Classes

struct  FinalAwaiter
 

Public Member Functions

 BlockingWaitPromiseBase () noexcept=default
 
std::experimental::suspend_always initial_suspend ()
 
FinalAwaiter final_suspend () noexcept
 

Protected Member Functions

void wait () noexcept
 

Private Attributes

folly::fibers::Baton baton_
 

Detailed Description

Definition at line 37 of file BlockingWait.h.

Constructor & Destructor Documentation

folly::coro::detail::BlockingWaitPromiseBase::BlockingWaitPromiseBase ( )
defaultnoexcept

Member Function Documentation

FinalAwaiter folly::coro::detail::BlockingWaitPromiseBase::final_suspend ( )
inlinenoexcept

Definition at line 58 of file BlockingWait.h.

Referenced by folly::coro::detail::BlockingWaitPromise< T & >::yield_value().

58  {
59  return {};
60  }
std::experimental::suspend_always folly::coro::detail::BlockingWaitPromiseBase::initial_suspend ( )
inline

Definition at line 54 of file BlockingWait.h.

54  {
55  return {};
56  }
void folly::coro::detail::BlockingWaitPromiseBase::wait ( )
inlineprotectednoexcept

Member Data Documentation

folly::fibers::Baton folly::coro::detail::BlockingWaitPromiseBase::baton_
private

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