Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notifier ¶ added in v0.421.0
type Notifier struct {
// contains filtered or unexported fields
}
Notifier helps to notify multiple subscribers that an event has occurred.
func NewNotifier ¶ added in v0.421.0
NewNotifier creates a new Notifier instance.
The returned Notifier will automatically close all subscribers when the context is cancelled.
Click to show internal directories.
Click to hide internal directories.