Commit b479a5dd authored by Andrii Grynenko's avatar Andrii Grynenko Committed by Facebook Github Bot

Cleanup coroutine code to not use InlineExecutor

Reviewed By: yfeldblum

Differential Revision: D16594071

fbshipit-source-id: 78755bc64f22b28f89958064184c1fdf35b1bb85
parent 97307b40
......@@ -142,8 +142,8 @@ retrying(size_t k, Policy&& p, FF&& ff) {
[k, p = std::forward<Policy>(p), ff = std::forward<FF>(ff)](
Executor::KeepAlive<> ka, auto&&) mutable {
auto futureP = [p = std::forward<Policy>(p), ka](
size_t k, exception_wrapper e) {
return p(k, std::move(e)).via(ka);
size_t kk, exception_wrapper e) {
return p(kk, std::move(e)).via(ka);
};
auto futureFF = [ff = std::forward<FF>(ff), ka = std::move(ka)](
size_t v) { return ff(v).via(ka); };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment