asio C++ library

PrevUpHomeNext

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

Wait for both operations to succeed.

template<
    typename T,
    typename Executor>
awaitable< T, Executor > operator &&(
    awaitable< 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