Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Done returns a chan that blocks until Close is called. It never returns data. Done() <-chan struct{} // Close closes the latch; all future calls to Closed return true. Safe to invoke multiple times. Close() // Closed returns false while the latch is "open" and true after it has been closed via Close. Closed() bool }
Interface funcs are safe to invoke concurrently.
Click to show internal directories.
Click to hide internal directories.