MCPcopy
hub / github.com/simstudioai/sim / start

Function start

apps/sim/app/api/table/[tableId]/import/route.test.ts:247–250  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

245 headers: new Headers({ 'content-type': `multipart/form-data; boundary=${boundary}` }),
246 body: new ReadableStream<Uint8Array>({
247 start(controller) {
248 controller.enqueue(new Uint8Array(body))
249 controller.close()
250 },
251 }),
252 signal: undefined,
253 } as unknown as NextRequest

Callers

nothing calls this directly

Calls 2

enqueueMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected