mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
Split the chained inject_parameter().value_or() expression into two separate named variables for clarity. Use condition_variable::when() instead of wait(). when() is the coroutine-native API, designed specifically for co_await contexts — it avoids the heap allocation of a promise_waiter that wait() uses, and instead uses a stack-based awaiter. Closes scylladb/scylladb#28824