Function getLoop

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual trantor::EventLoop * getLoop() const =0

Description

Get the main event loop of the framework;.

Note
The event loop is not the network IO loop, but the main event loop of the framework in which only some timer tasks are running; User can run some timer tasks or other tasks in this loop; This method can be call in any thread.

Source

Line 105 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in to DocsForge