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