6#include <userver/storages/postgres/options.hpp>
7#include <userver/utils/fast_pimpl.hpp>
19 std::optional<std::string> payload;
37class [[nodiscard]] NotifyScope
final {
39 NotifyScope(detail::ConnectionPtr conn, std::string_view channel,
40 OptionalCommandControl cmd_ctl);
44 NotifyScope(NotifyScope&&)
noexcept;
45 NotifyScope& operator=(NotifyScope&&)
noexcept;
47 NotifyScope(
const NotifyScope&) =
delete;
48 NotifyScope& operator=(
const NotifyScope&) =
delete;
55 USERVER_NAMESPACE::utils::FastPimpl<Impl, 80, 8> pimpl_;