folly::EventBase::runImmediatelyOrRunInEventBaseThread

Like runInEventBaseThread, but runs function immediately instead of at the end of the loop when called from the eventbase thread.

Synopsis

Declared in <folly/io/async/EventBase.h>

void
runImmediatelyOrRunInEventBaseThread(Func fn) noexcept;

Parameters

NameDescription
fnThe function to run.