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

Function start

apps/sim/executor/utils.test.ts:21–24  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

19 it.concurrent('should return original stream when no response format selection', async () => {
20 const mockStream = new ReadableStream({
21 start(controller) {
22 controller.enqueue(new TextEncoder().encode('{"content": "test"}'))
23 controller.close()
24 },
25 })
26
27 const result = processor.processStream(

Callers

nothing calls this directly

Calls 2

enqueueMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected