Handles the event loop.
Definition io_context.hpp:12
io_context_ptr create()
Creates an instance of IOContext wrapped in shared_ptr.
std::shared_ptr< async::IOContext > io_context_ptr
Definition io_context.hpp:14
event_base * c_base() const
Gives a pointer to the event base struct for libevent calls.
IOContext & operator=(IOContext &&other) noexcept
IOContext move assignment operator.
IOContext(IOContext &&other) noexcept
IOContext move constructor.