SendErr is not part of the CloserWaiter interface, and is intended to be called internally, or by Controllers that use BasicCoordinationController in composition. It triggers Wait() to report the error if an error has not already been reported.
(err error)
| 320 | // by Controllers that use BasicCoordinationController in composition. It triggers Wait() to |
| 321 | // report the error if an error has not already been reported. |
| 322 | func (c *BasicCoordination) SendErr(err error) { |
| 323 | select { |
| 324 | case c.errChan <- err: |
| 325 | default: |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | func (c *BasicCoordination) respLoop() { |
| 330 | defer func() { |
no outgoing calls
no test coverage detected