Files
rippled/include/xrpl/beast/insight/EventImpl.h
2026-04-21 15:32:51 +00:00

21 lines
342 B
C++

#pragma once
#include <chrono>
#include <memory>
namespace beast::insight {
class Event;
class EventImpl : public std::enable_shared_from_this<EventImpl>
{
public:
using value_type = std::chrono::milliseconds;
virtual ~EventImpl() = 0;
virtual void
notify(value_type const& value) = 0;
};
} // namespace beast::insight