MCPcopy Create free account
hub / github.com/daodst/chat / ProcessContext

Struct ProcessContext

setup/process/process.go:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type ProcessContext struct {
14 wg *sync.WaitGroup // used to wait for components to shutdown
15 ctx context.Context // cancelled when Stop is called
16 shutdown context.CancelFunc // shut down Dendrite
17 degraded atomic.Bool
18}
19
20func NewProcessContext() *ProcessContext {
21 ctx, shutdown := context.WithCancel(context.Background())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected