33 [func = std::forward<F>(func)]()
mutable {
return func(); },
46 [p =
std::move(p), func = std::forward<F>(func),
this]()
mutable {
typename invoke_result< F, Args... >::type invoke_result_t
constexpr detail::Map< Move > move
—— Concurrent Priority Queue Implementation ——
void addTaskFinally(F &&func, G &&finally)
void setTry(Try< T > &&t)
auto addTaskFuture(F &&func) -> folly::Future< typename folly::lift_unit< invoke_result_t< F >>::type >
invoke_result_t< F > runInMainContext(F &&func)
std::enable_if< !std::is_same< invoke_result_t< F >, void >::value, Try< invoke_result_t< F > > >::type makeTryWith(F &&f)
auto addTaskRemoteFuture(F &&func) -> folly::Future< typename folly::lift_unit< invoke_result_t< F >>::type >