StopAsync initiates service shutdown if necessary on all the services being managed.
()
| 94 | |
| 95 | // StopAsync initiates service shutdown if necessary on all the services being managed. |
| 96 | func (m *Manager) StopAsync() { |
| 97 | if m == nil { |
| 98 | return |
| 99 | } |
| 100 | |
| 101 | for _, s := range m.services { |
| 102 | s.StopAsync() |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | // IsHealthy returns true if all services are currently in the Running state. |
| 107 | func (m *Manager) IsHealthy() bool { |
no outgoing calls