8 #ifndef WPIUTIL_WPI_EVENTLOOPRUNNER_H_
9 #define WPIUTIL_WPI_EVENTLOOPRUNNER_H_
13 #include "wpi/SafeThread.h"
14 #include "wpi/uv/Loop.h"
50 #endif // WPIUTIL_WPI_EVENTLOOPRUNNER_H_
namespace to hold default to_json function
Definition: SmallString.h:21
void ExecSync(std::function< void(wpi::uv::Loop &)> func)
Run a function synchronously (once) on the loop.
void ExecAsync(std::function< void(wpi::uv::Loop &)> func)
Run a function asynchronously (once) on the loop.
Executes an event loop on a separate thread.
Definition: EventLoopRunner.h:21
Event loop.
Definition: Loop.h:37