Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
A Notifier is a synchronization primitive for waking upp all listeners at once.
func (*Notifier) Broadcast ¶
func (notifier *Notifier) Broadcast()
Broadcast wakes all listeners if there are any.
Click to show internal directories.
Click to hide internal directories.