VirtualEventBase destructor blocks until all tasks scheduled through its runInEventBaseThread are complete.
Synopsis
Declared in <folly/io/async/VirtualEventBase.h>
template<typename F>
void
runInEventBaseThread(F&& f) noexcept;
Parameters
Name |
Description |
f |
The function to run in the EventBase thread. |
See Also
EventBase::runInEventBaseThread
Created with MrDocs