Utilities for integration with engine::WaitAny and friends.
Definition in file awaitable.hpp.
Go to the source code of this file.
#include <concepts>#include <userver/utils/assert.hpp>#include <userver/utils/impl/internal_tag.hpp>
This graph shows which files directly or indirectly include this file:Classes | |
| class | engine::AwaitableToken |
| A lightweight token that exposes a view over an awaitable to engine::WaitAny and friends. More... | |
Namespaces | |
| namespace | engine |
| Asynchronous engine primitives. | |
Functions | |
| AwaitableToken | engine::MakeReadyAwaitableToken () noexcept |
| Returns a non-empty token that is always ready. Useful for mocking awaitables in tests. | |