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