std::shared_ptr< uv::Loop > GetLoop()
Get the loop.
void ExecSync(LoopFunc func)
Run a function synchronously (once) on the loop.
std::function< void(uv::Loop &)> LoopFunc
Definition EventLoopRunner.hpp:20
void Stop()
Stop the loop.
virtual ~EventLoopRunner()
void ExecAsync(LoopFunc func)
Run a function asynchronously (once) on the loop.
Event loop.
Definition Loop.hpp:35
Definition SafeThread.hpp:123
Definition raw_socket_ostream.hpp:9