![]() |
Home | Libraries | People | FAQ | More |
Wait for one operation to succeed.
template<
typename... T,
typename U,
typename Executor>
awaitable< std::variant< T..., U >, Executor > operator||(
awaitable< std::variant< T...>, Executor > t,
awaitable< U, Executor > u);
If one operations succeeds, the other is cancelled as the OR-condition is already satisfied.