(count int)
| 86 | } |
| 87 | |
| 88 | func PopOldest(count int) [][]byte { |
| 89 | if !Enabled() { |
| 90 | return nil |
| 91 | } |
| 92 | if count <= 0 { |
| 93 | return nil |
| 94 | } |
| 95 | return global.popOldest(count) |
| 96 | } |
| 97 | |
| 98 | func SubscribeUsage() (<-chan []byte, func()) { |
| 99 | return global.subscribe(usageSubscriberBuffer, []byte(usageSupportRefreshPayload)) |