feat(events): add SignalR real-time event broadcasting to web UI
This commit is contained in:
1 parent
0d2f0574c9
commit
c5728fa810
5 files changed
+121
-9
No files matched your search
@@ -0,0 +1,13 @@
|
||||
using Heimdall.Application.DTOs;
|
||||
|
||||
namespace Heimdall.Application.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Broadcasts camera events to connected clients (SignalR / WebSocket).
|
||||
/// Implemented in the API layer; referenced by Infrastructure for decoupled
|
||||
/// notification after event creation.
|
||||
/// </summary>
|
||||
public interface IEventBroadcastService
|
||||
{
|
||||
Task NotifyEventCreated(CameraEventResponse ev, CancellationToken ct = default);
|
||||
}
|
||||
Reference in new issue
Block a user