Documentation ¶
Overview ¶
The internal `waitgroup` package is a generic which provides a synchronization lock to read observe a list of provided entities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WaitGroup ¶
type WaitGroup[T comparable] struct { // contains filtered or unexported fields }
func (*WaitGroup[T]) Done ¶
func (wg *WaitGroup[T]) Done(needle T)
Done signals that the provided entity can be removed from the wait group.
Click to show internal directories.
Click to hide internal directories.