MCPcopy Index your code
hub / github.com/coder/envbox / Close

Method Close

buildlog/coder.go:103–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103func (c *agentClientV2) Close() error {
104 defer c.cancel()
105 return c.flush()
106}
107
108func newAgentClientV2(ctx context.Context, logger slog.Logger, client *agentsdk.Client) (CoderClient, error) {
109 cctx, cancel := context.WithCancel(ctx)

Callers

nothing calls this directly

Calls 1

flushMethod · 0.95

Tested by

no test coverage detected