Dead returns the channel that can be used to wait until all goroutines have finished running.
()
| 117 | // Dead returns the channel that can be used to wait until |
| 118 | // all goroutines have finished running. |
| 119 | func (t *Tomb) Dead() <-chan struct{} { |
| 120 | t.init() |
| 121 | return t.dead |
| 122 | } |
| 123 | |
| 124 | // Dying returns the channel that can be used to wait until |
| 125 | // t.Kill is called. |
no test coverage detected