-----------------------------------------------------------------------------
(c <-chan struct{})
| 261 | //----------------------------------------------------------------------------- |
| 262 | |
| 263 | func stopped(c <-chan struct{}) bool { |
| 264 | ok := true |
| 265 | select { |
| 266 | case _, ok = <-c: |
| 267 | default: |
| 268 | } |
| 269 | return !ok |
| 270 | } |
| 271 | |
| 272 | //----------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected