asio C++ library

PrevUpHomeNext

experimental::awaitable_operators::operator && (5 of 6 overloads)

Wait for both operations to succeed.

template<
    typename... T,
    typename Executor>
awaitable< std::tuple< T..., std::monostate >, Executor > operator &&(
    awaitable< std::tuple< T...>, Executor > t,
    awaitable< void, Executor > u);

If one operations fails, the other is cancelled as the AND-condition can no longer be satisfied.


PrevUpHomeNext