Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ pull
Function
pull
apps/sim/lib/core/utils/sse.test.ts:16–23 ·
view source on GitHub ↗
(controller)
Source
from the content-addressed store, hash-verified
14
let
index = 0
15
return
new
ReadableStream({
16
pull(controller) {
17
if
(index < chunks.length) {
18
controller.enqueue(chunks[index])
19
index++
20
}
else
{
21
controller.close()
22
}
23
},
24
})
25
}
26
Callers
nothing calls this directly
Calls
2
enqueue
Method · 0.65
close
Method · 0.65
Tested by
no test coverage detected