Versions in this module Expand all Collapse all v0 v0.2.253 Apr 7, 2025 Changes in this version + const DefaultExpiration + const EvictionInterval + type CooldownQueue struct + func NewCooldownQueue[T any](cooldown time.Duration, evictionInterval time.Duration) *CooldownQueue[T] + func (q *CooldownQueue[T]) Closed() bool + func (q *CooldownQueue[T]) Enqueue(e T, key string) + func (q *CooldownQueue[T]) ResultChan() <-chan T + func (q *CooldownQueue[T]) Stop()