proxygen
|
#include <Task.h>
Public Member Functions | |
TaskPromise () noexcept=default | |
Task< T > | get_return_object () noexcept |
void | unhandled_exception () noexcept |
template<typename U > | |
void | return_value (U &&value) |
T | getResult () |
Public Member Functions inherited from folly::coro::detail::TaskPromiseBase | |
std::experimental::suspend_always | initial_suspend () noexcept |
FinalAwaiter | final_suspend () noexcept |
template<typename U > | |
auto | await_transform (Task< U > &&t) noexcept |
template<typename Awaitable > | |
auto | await_transform (Awaitable &&awaitable) noexcept |
auto | await_transform (folly::coro::getCurrentExecutor) noexcept |
template<typename T > | |
auto | await_transform (Task< T > &&t) noexcept |
Private Types | |
using | StorageType = std::conditional_t< std::is_reference< T >::value, std::reference_wrapper< std::remove_reference_t< T >>, T > |
Private Attributes | |
Try< StorageType > | result_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::coro::detail::TaskPromiseBase | |
TaskPromiseBase () noexcept | |
|
private |
|
defaultnoexcept |
|
noexcept |
|
inline |
Definition at line 120 of file Task.h.
References folly::gen::move, folly::T, and value.
|
inline |
Definition at line 113 of file Task.h.
References value, and folly::value().
|
inlinenoexcept |
Definition at line 107 of file Task.h.
References folly::exception_wrapper::from_exception_ptr().
|
private |