()
| 43 | } |
| 44 | |
| 45 | func (m *Base) CheckError() error { |
| 46 | select { |
| 47 | case res := <-m.errChan: |
| 48 | m.errChan <- res |
| 49 | return res |
| 50 | default: |
| 51 | return nil |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | func (m *Base) IsRunning() bool { |
| 56 | return m.running |
nothing calls this directly
no outgoing calls
no test coverage detected