Abstract base class for all asio::ExecutionPolicy derivatives.
It defines an interface to execute a given callable in a way defined by the implementation of this interface.
Synopsis:
{
public:
void execute(std::function<void()> callable) override
{
std::this_thread::sleep_for(std::chrono::milliseconds(100));
callable();
}
}
Abstract base class for all asio::ExecutionPolicy derivatives.
See also asio::AsynchronousExecution and asio::SynchronousExecution for implementations.
Definition at line 34 of file ExecutionPolicy.h.