asio C++ library

PrevUpHomeNext
any_completion_executor::prefer (6 of 6 overloads)

Inherited from execution::any_executor.

Obtain a polymorphic wrapper with the specified property.

template<
    typename Property>
any_executor prefer(
    Property ) const;

Do not call this function directly. It is intended for use with the prefer customisation point.

For example:

execution::any_executor<execution::blocking_t::possibly_t> ex = ...;
auto ex2 = asio::prefer(ex, execution::blocking.possibly);

PrevUpHomeNext