Run an async‐annotated functor on a new fiber on remote thread, blocking the current fiber.

Synopsis

Declared in <folly/fibers/async/Collect.h>

template<typename F>
Async<async_invocable_inner_type_t<F>>
executeOnRemoteFiber(
    F&& func,
    FiberManager& fm);

Return Value

The result of the functor

Parameters

Name

Description

func

Async‐annotated functor to run

fm

Remote thread's fiber manager to run the functor on

Created with MrDocs