some tweaks/renames, schedule documentation

This commit is contained in:
Sam Lewis
2022-11-01 01:20:15 -04:00
parent cbfce76897
commit b0804e39d0
6 changed files with 61 additions and 53 deletions
+2 -1
View File
@@ -26,6 +26,7 @@ type EntityListener struct {
exceptionRanges []timeRange
}
// TODO: add state object as second arg
type EntityListenerCallback func(*Service, EntityData)
type EntityData struct {
@@ -60,7 +61,7 @@ type msgState struct {
/* Methods */
func EntityListenerBuilder() elBuilder1 {
func NewEntityListener() elBuilder1 {
return elBuilder1{EntityListener{
lastRan: carbon.Now().StartOfCentury(),
}}