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