6#include <userver/engine/deadline.hpp>
7#include <userver/storages/postgres/options.hpp>
8#include <userver/utils/fast_pimpl.hpp>
10USERVER_NAMESPACE_BEGIN
20 std::optional<std::string> payload;
38class [[nodiscard]] NotifyScope
final {
40 NotifyScope(detail::ConnectionPtr conn, std::string_view channel, 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, 88, 8> pimpl_;