Discover Packages
github.com/ethersphere/bee/v2
pkg
util
syncutil
package
Version:
v2.3.0-rc3
Opens a new window with list of versions in this module.
Published: Oct 30, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
WaitWithTimeout waits for the waitgroup to finish for the given timeout.
It returns true if the waitgroup finished before the timeout, false otherwise.
type Signaler struct {
C chan struct{}
}
Signaler allows for multiple writers to safely signal an event
so that reader on the channel C would get unblocked
NewSignaler initializes a new obj
Signal safely closes the blocking channel
Source Files
¶
Click to show internal directories.
Click to hide internal directories.