Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FunctionStream/function-stream
/ newCloser
Function
newCloser
cmd/perf/cmd.go:53–57 ·
view source on GitHub ↗
(ctx context.Context)
Source
from the content-addressed store, hash-verified
51
}
52
53
func
newCloser(ctx context.Context) *closer {
54
c := &closer{}
55
c.ctx, c.cancel = context.WithCancel(ctx)
56
return
c
57
}
58
59
func
(c *closer) Close() error {
60
c.cancel()
Callers
1
runPerf
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected