Returns the number of loop callbacks pending execution. If this is non-zero, loopOnce() is guaranteed to run the callbacks without blocking.
Declared in <folly/io/async/EventBase.h>
size_t
getNumLoopCallbacks() const;
The number of pending loop callbacks.