Len returns the number of items currently stored in the tracker.
()
| 82 | |
| 83 | // Len returns the number of items currently stored in the tracker. |
| 84 | func (t *Tracker[T]) Len() int { |
| 85 | t.mu.RLock() |
| 86 | n := len(t.items) |
| 87 | t.mu.RUnlock() |
| 88 | return n |
| 89 | } |
no outgoing calls