checkRunning panics if called when the Controller is not running.
()
| 849 | |
| 850 | // checkRunning panics if called when the Controller is not running. |
| 851 | func (c *Controller) checkRunning() error { |
| 852 | if c.closed.Load() { |
| 853 | return ErrControllerClosed |
| 854 | } |
| 855 | return nil |
| 856 | } |
| 857 | |
| 858 | // idleWait represents a caller waiting for the controller to become idle. |
| 859 | // If ignoreHidden is true, the controller will be considered idle if all running invocations are for hidden resources. |
no outgoing calls
no test coverage detected