Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrListenerDeregistered = ierrors.New("listener was deregistered")
)
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func (*Listener) Deregister ¶
func (l *Listener) Deregister()
Deregister the listener to clean up memory in case it was not de-registered yet.
type Notifier ¶
type Notifier[T comparable] struct { // contains filtered or unexported fields }
func New ¶
func New[T comparable]() *Notifier[T]
Click to show internal directories.
Click to hide internal directories.