Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixedSizeObserver ¶
type FixedSizeObserver[T interface{}] struct {
// contains filtered or unexported fields
}
func NewFixedSizeObserver ¶
func (*FixedSizeObserver[T]) GetLength ¶
func (q *FixedSizeObserver[T]) GetLength() int
func (*FixedSizeObserver[T]) Publish ¶
func (q *FixedSizeObserver[T]) Publish(element T)
func (*FixedSizeObserver[T]) Release ¶
func (q *FixedSizeObserver[T]) Release()
func (*FixedSizeObserver[T]) Subscribe ¶
func (q *FixedSizeObserver[T]) Subscribe(ctx context.Context) <-chan T
Click to show internal directories.
Click to hide internal directories.