5#ifndef WPINET_EVENTLOOPRUNNER_H_
6#define WPINET_EVENTLOOPRUNNER_H_
Executes an event loop on a separate thread.
Definition: EventLoopRunner.h:20
virtual ~EventLoopRunner()
void ExecSync(LoopFunc func)
Run a function synchronously (once) on the loop.
std::function< void(uv::Loop &)> LoopFunc
Definition: EventLoopRunner.h:22
void Stop()
Stop the loop.
void ExecAsync(LoopFunc func)
Run a function asynchronously (once) on the loop.
std::shared_ptr< uv::Loop > GetLoop()
Get the loop.
Event loop.
Definition: Loop.h:37
Definition: AprilTagFieldLayout.h:18