#include <folly/Try.h>
#include <folly/experimental/coro/Traits.h>
#include <folly/fibers/Baton.h>
#include <folly/synchronization/Baton.h>
#include <cassert>
#include <exception>
#include <experimental/coroutine>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
template<typename Awaitable , typename Result = await_result_t<Awaitable>, std::enable_if_t<!std::is_lvalue_reference< Result >::value, int > = 0> |
auto | folly::coro::detail::makeBlockingWaitTask (Awaitable &&awaitable) -> BlockingWaitTask< decay_rvalue_reference_t< Result >> |
|
template<typename Awaitable , typename Result = await_result_t<Awaitable>, std::enable_if_t< std::is_void< Result >::value, int > = 0> |
BlockingWaitTask< void > | folly::coro::detail::makeRefBlockingWaitTask (Awaitable &&awaitable) |
|
template<typename Awaitable , typename Result = await_result_t<Awaitable>, std::enable_if_t<!std::is_void< Result >::value, int > = 0> |
auto | folly::coro::detail::makeRefBlockingWaitTask (Awaitable &&awaitable) -> BlockingWaitTask< std::add_lvalue_reference_t< Result >> |
|
template<typename Awaitable > |
auto | folly::coro::blockingWait (Awaitable &&awaitable) -> detail::decay_rvalue_reference_t< await_result_t< Awaitable >> |
|