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

Method StartAsync

services/service.go:58–58  ·  view source on GitHub ↗

StartAsync starts Service asynchronously. Service must be in New State, otherwise error is returned. Context is used as a parent context for service own context.

(ctx context.Context)

Source from the content-addressed store, hash-verified

56 // StartAsync starts Service asynchronously. Service must be in New State, otherwise error is returned.
57 // Context is used as a parent context for service own context.
58 StartAsync(ctx context.Context) error
59
60 // AwaitRunning waits until service gets into Running state.
61 // If service is in New or Starting state, this method is blocking.

Implementers 2

BasicServiceservices/basic_service.go
mockServicegrpcutil/health_check_test.go

Calls

no outgoing calls