MCPcopy Create free account
hub / github.com/boostorg/asio / async_cancellable

Function async_cancellable

test/compose.cpp:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267template <typename CancellationFilter, typename CompletionToken>
268BOOST_ASIO_INITFN_RESULT_TYPE(CompletionToken, void(bool))
269async_cancellable(CancellationFilter cancellation_filter,
270 boost::asio::system_timer& timer,
271 CompletionToken&& token)
272{
273 return boost::asio::async_compose<CompletionToken, void(bool)>(
274 impl_cancellable<CancellationFilter>(cancellation_filter, timer), token);
275}
276
277void compose_partial_cancellation_handler(
278 int* count, bool* result_out, bool result)

Calls

no outgoing calls

Tested by

no test coverage detected