(typ AllocatorChangeKind, id idpool.ID, key AllocatorKey)
| 106 | } |
| 107 | |
| 108 | func (c *cache) sendEvent(typ AllocatorChangeKind, id idpool.ID, key AllocatorKey) { |
| 109 | if events := c.allocator.events; events != nil { |
| 110 | events <- AllocatorEvent{Typ: typ, ID: id, Key: key} |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | func (c *cache) OnListDone() { |
| 115 | c.mutex.Lock() |
no outgoing calls
no test coverage detected