You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update() for StateVector that updates the time for an entry. LastUpdated() pulls the time for a certain entry.
Changed
Scheduler operates entirely with time.Duration instead of int64 internally. This removes many type conversions and makes it more readable. (made possible with math/rand/v2)
Scheduler now has RWMutex instead of Mutex. This will not affect it's usage in our case now but could in other use cases.
Changed logic of OnTimer function within Core to read better.
De-interfaced StateVector.
Core now uses StateVectors additional functionality (mutexes and times). This unclutters the Core.
OrderedMap is now named NameMap, modernized different aspects of it. The internal list used is now fully hidden from external API.
Updated all dependencies.
Fixed
Copying a NameMap (previously OrderedMap) now correctly copies everything.
Removed
init.go, math/rand/v2 provides a simple seed for us to use from the get-go.