boost::capy::stop_resume_callback

Type alias for a stop callback that posts through the executor.

Synopsis

Declared in <boost/capy/ex/io_env.hpp>

using stop_resume_callback = std::stop_callback<resume_via_post>;

Description

Use this to declare the stop callback member in your awaitable:

std::optional<stop_resume_callback> stop_cb_;

See Also

resume_via_post, io_env::post_resume

Created with MrDocs