mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 06:23:03 +00:00
The inject(name, wait_for_message) overload now accepts an optional
third parameter 'share_messages' (defaulting to true) that is passed
through to the underlying handler injection. This allows callers to
use the breakpoint sugar even when they need non-shared message
semantics, avoiding the need for a verbose handler lambda.
This patch partially reverts the 324a0829 that added the same ability
but via wait_for_message struct itself. The explicit argument for
inject() is symmetrical to other inject overloads and is thus more
preferrable.
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
31 KiB
31 KiB