StopAsync initiates service shutdown if necessary on all the services being managed.
()
| 86 | |
| 87 | // StopAsync initiates service shutdown if necessary on all the services being managed. |
| 88 | func (m *Manager) StopAsync() { |
| 89 | if m == nil { |
| 90 | return |
| 91 | } |
| 92 | |
| 93 | for _, s := range m.services { |
| 94 | s.StopAsync() |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | // IsHealthy returns true if all services are currently in the Running state. |
| 99 | func (m *Manager) IsHealthy() bool { |
no outgoing calls