add overloads
Declared in <folly/Executor.h>
Schedules a function to run on the backing executor.
virtual
void
add(Func f) override;
» more...
Enqueue a function to be executed by this executor. This and all variants must be threadsafe.
virtual
void
add(Func func) = 0;
» more...
| Name | Description |
|---|---|
| f | The function to execute. |
| func | The unit of work to enqueue. |