Keeps an Asio I/O context running on a dedicated worker thread.
asio::io_context & ioContext
AsioIoContextRunner(asio::io_context &ioContext)
Start running the supplied I/O context.
asio::executor_work_guard< asio::io_context::executor_type > workGuard
AsioIoContextRunner & operator=(const AsioIoContextRunner &)=delete
AsioIoContextRunner(const AsioIoContextRunner &)=delete
Abstract interface for keeping an Asio I/O context running.
IAsioIoContextRunner(IAsioIoContextRunner &&)=delete
IAsioIoContextRunner()=default
virtual ~IAsioIoContextRunner()=default
IAsioIoContextRunner & operator=(IAsioIoContextRunner &&)=delete
IAsioIoContextRunner(const IAsioIoContextRunner &)=delete
IAsioIoContextRunner & operator=(const IAsioIoContextRunner &)=delete