Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/agentapi
/ newChunkCollector
Function
newChunkCollector
x/acpio/acpio_test.go:92–96 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
90
}
91
92
func
newChunkCollector() *chunkCollector {
93
c := &chunkCollector{}
94
c.cond = sync.NewCond(&c.mu)
95
return
c
96
}
97
98
func
(c *chunkCollector) callback(chunk string) {
99
c.mu.Lock()
Callers
4
Test_ACPAgentIO_WriteAndReadScreen
Function · 0.85
Test_ACPAgentIO_StreamingChunks
Function · 0.85
Test_ACPAgentIO_ToolCallFormattedAsText
Function · 0.85
Test_ACPAgentIO_ResetsResponseBetweenWrites
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected