add state as second arg for eventListenerCallback

This commit is contained in:
Sam Lewis
2022-11-08 22:48:34 -05:00
parent 5afa301f36
commit 1ec5878ff9
4 changed files with 14 additions and 4 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ type EntityListener struct {
exceptionRanges []timeRange
}
// TODO: add state object as second arg
// TODO: add RunOnStartup() to etl, evl, schedule
type EntityListenerCallback func(*Service, *State, EntityData)
type EntityData struct {