Reference
boost::redis::basic_connection::cancel
Cancel operations.
Synopsis
Declared in <boost/redis/connection.hpp>
void
cancel(operation op = operation::all);
Description
-
operation::exec: cancels operations started withasync_exec. Affects only requests that haven't been written yet. -
operation::run: cancels theasync_runoperation. -
operation::receive: cancels any ongoing calls toasync_receive. -
operation::all: cancels all operations listed above.