prepare for folly::Executor taking folly::Function