Function runEventLoop
Starts the vibe.d event loop for the calling thread.
int runEventLoop() nothrow @safe;
Note that this function is usually called automatically by the vibe.d
framework. However, if you provide your own main()
function, you may need
to call either this or runApplication
manually.
The event loop will by default continue running during the whole life time
of the application, but calling runEventLoop
multiple times in sequence
is allowed. Tasks will be started and handled only while the event loop is
running.
Returns
The returned value is the suggested code to return to the operating
system from the main
function.