Documentation
¶
Overview ¶
Package notifier provides a simple signal that one goroutine can wait on and another can trigger.
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
}
Notifier allows waiting until Notify is called (or context is cancelled). Each Notify unblocks one Wait. Safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.