MCPcopy
hub / github.com/grafana/dskit / StopAsync

Method StopAsync

services/manager.go:96–104  ·  view source on GitHub ↗

StopAsync initiates service shutdown if necessary on all the services being managed.

()

Source from the content-addressed store, hash-verified

94
95// StopAsync initiates service shutdown if necessary on all the services being managed.
96func (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.
107func (m *Manager) IsHealthy() bool {

Calls

no outgoing calls