proxygen
|
#include <Future-inl.h>
Public Member Functions | |
CoreCallbackState (Promise< T > &&promise, F &&func) noexcept(noexcept(DF(std::declval< F && >()))) | |
CoreCallbackState (CoreCallbackState &&that) noexcept(noexcept(DF(std::declval< F && >()))) | |
CoreCallbackState & | operator= (CoreCallbackState &&)=delete |
~CoreCallbackState () | |
template<typename... Args> | |
auto | invoke (Args &&...args) noexcept(noexcept(std::declval< F && >()(std::declval< Args && >()...))) |
template<typename... Args> | |
auto | tryInvoke (Args &&...args) noexcept |
void | setTry (Try< T > &&t) |
void | setException (exception_wrapper &&ew) |
Promise< T > | stealPromise () noexcept |
Private Types | |
using | DF = _t< std::decay< F >> |
Private Member Functions | |
bool | before_barrier () const noexcept |
Private Attributes | |
union { | |
DF func_ | |
}; | |
Promise< T > | promise_ {Promise<T>::makeEmpty()} |
Definition at line 61 of file Future-inl.h.
|
private |
Definition at line 62 of file Future-inl.h.
|
inlinenoexcept |
Definition at line 65 of file Future-inl.h.
|
inlinenoexcept |
Definition at line 71 of file Future-inl.h.
References promise_.
|
inline |
Definition at line 81 of file Future-inl.h.
References testing::Args().
|
inlineprivatenoexcept |
Definition at line 114 of file Future-inl.h.
References promise_.
|
inlinenoexcept |
Definition at line 88 of file Future-inl.h.
References testing::Args().
|
delete |
|
inline |
Definition at line 103 of file Future-inl.h.
References folly::gen::move.
|
inline |
Definition at line 99 of file Future-inl.h.
References folly::gen::move, and folly::pushmi::detail::t.
|
inlinenoexcept |
Definition at line 107 of file Future-inl.h.
References folly::gen::move, and promise_.
|
inlinenoexcept |
Definition at line 95 of file Future-inl.h.
References folly::invoke(), and folly::makeTryWith().
union { ... } |
DF folly::futures::detail::CoreCallbackState< T, F >::func_ |
Definition at line 119 of file Future-inl.h.
|
private |
Definition at line 121 of file Future-inl.h.