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

Method close

coderd/workspaceagentsrpc.go:496–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

494}
495
496func (m *agentConnectionMonitor) close() {
497 m.cancel()
498 m.wg.Wait()
499}
500
501func checkBuildIsLatest(ctx context.Context, db database.Store, build database.WorkspaceBuild) error {
502 latestBuild, err := db.GetLatestWorkspaceBuildByWorkspaceID(ctx, build.WorkspaceID)

Callers 1

Calls 2

WaitMethod · 0.65
cancelMethod · 0.45

Tested by 1