Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ onEnd
Function
onEnd
apps/sim/lib/core/utils/stream-limits.ts:203–205 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
201
}
202
203
const
onEnd = () => {
204
finish(() => resolve(Buffer.concat(chunks, totalBytes)))
205
}
206
207
const
onError = (error: unknown) => {
208
finish(() => reject(error))
Callers
nothing calls this directly
Calls
3
concat
Method · 0.80
finish
Function · 0.70
resolve
Function · 0.50
Tested by
no test coverage detected