|
proxygen
|
#include <Task.h>
Classes | |
| class | Awaiter |
Public Member Functions | |
| ~TaskWithExecutor () | |
| TaskWithExecutor (TaskWithExecutor &&t) noexcept | |
| TaskWithExecutor & | operator= (TaskWithExecutor t) noexcept |
| folly::Executor * | executor () const noexcept |
| void | swap (TaskWithExecutor &t) noexcept |
| auto | start ()&& |
| Awaiter | operator co_await ()&&noexcept |
Private Types | |
| using | handle_t = std::experimental::coroutine_handle< detail::TaskPromise< T >> |
Private Member Functions | |
| TaskWithExecutor (handle_t coro) noexcept | |
Private Attributes | |
| handle_t | coro_ |
Friends | |
| class | Task< T > |
Represents an allocated but not yet started coroutine that has already been bound to an executor.
This task, when co_awaited, will launch the task on the bound executor and will resume the awaiting coroutine on the bound executor when it completes.
|
private |
|
inline |
|
inlinenoexcept |
|
inlineexplicitprivatenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
Definition at line 186 of file Task.h.
References folly::f14::swap(), and folly::pushmi::detail::t.
|
private |