Run a callable asynchronously on the global CPU executor.
Declared in <folly/executors/Async.h>
template<class F>
auto
async(F&& fn);
A future for the result produced by the callable.
| Name | Description |
|---|---|
| F | The callable type. |
| Name | Description |
|---|---|
| fn | The callable to execute. |