asio C++ library

PrevUpHomeNext

partial_cancellation_slot_binder::operator()

Adapt a completion token to specify that the completion handler should have the cancellation slot as its associated cancellation slot.

template<
    typename CompletionToken>
constexpr cancellation_slot_binder< decay_t< CompletionToken >, CancellationSlot > operator()(
    CompletionToken && completion_token) const;

PrevUpHomeNext