refactor: rename files into common naming, rename GetId to NextId, document function

This commit is contained in:
2025-08-01 16:42:46 -05:00
parent 55a390e69c
commit 7081d06001
9 changed files with 7 additions and 5 deletions

2
app.go
View File

@@ -370,7 +370,7 @@ func (a *App) Start() {
go runIntervals(a)
// subscribe to state_changed events
id := internal.GetId()
id := internal.NextId()
ws.SubscribeToStateChangedEvents(id, a.wsWriter, a.ctx)
a.entityListenersId = id