Versions in this module Expand all Collapse all v1 v1.1.1 Dec 18, 2024 Changes in this version + type BlockingDeque interface + Close func() + func NewUnboundedBlockingDeque[T any](initSize int) BlockingDeque[T] + type Deque interface + Index func(int) (T, bool) + Len func() int + List func() []T + PeekLeft func() (T, bool) + PeekRight func() (T, bool) + PopLeft func() (T, bool) + PopRight func() (T, bool) + PushLeft func(T) bool + PushRight func(T) bool + func NewUnboundedDeque[T any](initSize int) Deque[T] + type Queue interface + Index func(int) (T, bool) + Len func() int + List func() []T + Peek func() (T, bool) + Pop func() (T, bool) + Push func(T) + func NewBoundedQueue[T any](maxSize int, onEvict func(T)) (Queue[T], error)