Reference
boost::redis::request::config::cancel_if_not_connected
If true, basic_connection::async_exec will complete with boost::redis::error::not_connected if the call happens before the connection with Redis was established.
Synopsis
Declared in <boost/redis/request.hpp>
bool cancel_if_not_connected = false;
Created with MrDocs