NewRing creates a new ring buffer with the given capacity (256 if <= 1). evict must be light as it is called for each element displaced by a push, under contention.
(ctx context.Context, capacity int, evict func(T))
source not stored for this graph (policy: none)
no test coverage detected