#include <ViaIfAsync.h>
Definition at line 36 of file ViaIfAsync.h.
folly::coro::detail::ViaCoroutine::promise_type::promise_type |
( |
folly::Executor * |
executor | ) |
|
|
inlinenoexcept |
Definition at line 38 of file ViaIfAsync.h.
folly::Executor * executor_
auto folly::coro::detail::ViaCoroutine::promise_type::final_suspend |
( |
| ) |
|
|
inline |
Definition at line 50 of file ViaIfAsync.h.
References folly::pushmi::__adl::noexcept().
56 std::experimental::coroutine_handle<promise_type> coro)
noexcept {
58 auto& promise = coro.promise();
59 promise.executor_->add(promise.continuation_);
requires E e noexcept(noexcept(s.error(std::move(e))))
ViaCoroutine folly::coro::detail::ViaCoroutine::promise_type::get_return_object |
( |
| ) |
|
|
inlinenoexcept |
Definition at line 40 of file ViaIfAsync.h.
42 std::experimental::coroutine_handle<promise_type>::from_promise(
ViaCoroutine(ViaCoroutine &&other) noexcept
std::experimental::suspend_always folly::coro::detail::ViaCoroutine::promise_type::initial_suspend |
( |
| ) |
|
|
inline |
void folly::coro::detail::ViaCoroutine::promise_type::return_void |
( |
| ) |
|
|
inlinenoexcept |
void folly::coro::detail::ViaCoroutine::promise_type::setContinuation |
( |
std::experimental::coroutine_handle<> |
continuation | ) |
|
|
inlinenoexcept |
void folly::coro::detail::ViaCoroutine::promise_type::unhandled_exception |
( |
| ) |
|
|
inlinenoexcept |
Definition at line 67 of file ViaIfAsync.h.
References folly::FATAL.
68 LOG(FATAL) <<
"ViaCoroutine threw an unhandled exception";
std::experimental::coroutine_handle folly::coro::detail::ViaCoroutine::promise_type::continuation_ |
|
private |
folly::Executor* folly::coro::detail::ViaCoroutine::promise_type::executor_ |
|
private |
The documentation for this class was generated from the following file: