asio C++ library

PrevUpHomeNext

experimental::basic_channel::cancel

Cancel all asynchronous operations waiting on the channel.

void cancel();

All outstanding send operations will complete with the error asio::experimental::error::channel_cancelled. Outstanding receive operations complete with the result as determined by the channel traits.


PrevUpHomeNext