proxygen
|
#include <Utils.h>
Classes | |
class | SharedState |
Public Types | |
using | await_resume_return_type = await_result_t< Awaitable > |
Public Member Functions | |
TimedWaitAwaitable (Awaitable &&awaitable, std::chrono::milliseconds duration) | |
bool | await_ready () |
bool | await_suspend (std::experimental::coroutine_handle<> ch) |
Optional< await_resume_return_type > | await_resume () |
Static Private Member Functions | |
static Wait | waitAndNotify (Awaitable awaitable, std::shared_ptr< SharedState > sharedState) |
Private Attributes | |
Awaitable | awaitable_ |
std::chrono::milliseconds | duration_ |
Try< await_resume_return_type > | storage_ |
using folly::coro::TimedWaitAwaitable< Awaitable >::await_resume_return_type = await_result_t<Awaitable> |
|
inline |
Definition at line 70 of file Utils.h.
|
inline |
|
inline |
Definition at line 87 of file Utils.h.
References folly::gen::move, and folly::none.
|
inline |
Definition at line 77 of file Utils.h.
References ch, folly::gen::move, and folly::futures::sleep().
|
inlinestaticprivate |
|
private |
|
private |
|
private |