Runs the event loop.
Declared in <folly/io/async/EventBase.h>
bool
loop();
loop() will loop waiting for I/O or timeouts and invoking EventHandler and AsyncTimeout callbacks as their events become ready. loop() will only return when there are no more events remaining to process, or after terminateLoopSoon() has been called.
loop() may be called again to restart event processing after a previous call to loop() or loopForever() has returned.
Returns true if the loop completed normally (if it processed all outstanding requests, or if terminateLoopSoon() was called). If an error occurs waiting for events, false will be returned.
True if the loop completed normally, false on error.