MCPcopy Create free account
hub / github.com/Shopify/goose / stateTracker

Struct stateTracker

statetracker/tracker.go:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26type stateTracker struct {
27 cond *sync.Cond
28 value interface{}
29 lastSet map[interface{}]time.Time
30 listeners []chan *Notification
31}
32
33func New(initial interface{}) StateTracker {
34 return &stateTracker{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected