Executor wrapper that adds future‐returning task submission.
Synopsis
Declared in <folly/executors/FutureExecutor.h>
template<typename ExecutorImpl>
class FutureExecutor
: public ExecutorImpl
Base Classes
Name |
Description |
|
Member Functions
Name |
Description |
|
Constructs the wrapper, forwarding all arguments to the wrapped executor. |
Adds a function that returns a |
|
Adds a function that returns a non‐future value and returns its result future. |
Template Parameters
Name |
Description |
ExecutorImpl |
The underlying executor type to wrap. |
Created with MrDocs