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

Method State

services/basic_service.go:324–328  ·  view source on GitHub ↗

State is part of Service interface.

()

Source from the content-addressed store, hash-verified

322
323// State is part of Service interface.
324func (b *BasicService) State() State {
325 b.stateMu.RLock()
326 defer b.stateMu.RUnlock()
327 return b.state
328}
329
330// AddListener is part of Service interface.
331func (b *BasicService) AddListener(listener Listener) func() {

Callers 5

StopAsyncMethod · 0.95
ServiceContextMethod · 0.95
awaitStateMethod · 0.95

Calls

no outgoing calls