boost::redis::request::config::cancel_if_not_connected

(Deprecated) 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;

Deprecated

This setting is deprecated and should be always left out as the default (waiting for a connection to be established). If you need to limit how much time a basic_connection::async_exec operation is allowed to take, use asio::cancel_after, instead.

Created with MrDocs