# Functions
DiscardAnyMessage is a function that discards all messages from a receiver.
NewBuffer creates a new Buffer instance.
NewChannelThrough creates a new channel through buffer.
NewDebugger is a function that creates a new debugger.
NewIsEmptyObserver creates a new IsEmptyObserver instance.
NewRedirect creates a new redirect handler.
NewSafeQueue is a function that creates and returns a new instance of a SafeQueue.
# Structs
Buffer is a thread-safe, generic data structure that allows multiple goroutines to produce and consume elements in a synchronized manner.
ChannelThrough is a type of buffer that sends messages from multiple receivers to a single sender.
Debugger is a struct that provides a way to print debug messages.
IsEmptyObserver is an observer for the size of the queue.
Redirect is a handler that redirects messages from a receiver to multiple senders.
SafeQueue is a generic type that represents a thread-safe queue data structure with or without a limited capacity, implemented using a linked list.
# Interfaces
Receiver is the interface that wraps the Receive method.
# Type aliases
BufferCondition is an enumeration of the possible conditions of the Buffer.