MCPcopy Index your code
hub / github.com/coder/coder / Ctx

Method Ctx

scripts/develop/main.go:582–582  ·  view source on GitHub ↗

Ctx returns the errgroup's derived context. It cancels when the parent context fires (signal) or any child process exits.

()

Source from the content-addressed store, hash-verified

580// Ctx returns the errgroup's derived context. It cancels when the
581// parent context fires (signal) or any child process exits.
582func (g *procGroup) Ctx() context.Context { return g.ctx }
583
584// poll calls cond every interval until it returns a value and true,
585// or the context is canceled. If cond returns a non-nil error,

Callers 4

TestProcGroupProcessExitFunction · 0.80
developFunction · 0.80
startServerFunction · 0.80
startServerDebugFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestProcGroupProcessExitFunction · 0.64