MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / start

Function start

__tests__/api/streamResponseToUser.test.ts:12–15  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

10 const uint8array = new TextEncoder().encode(mockReadable.read());
11 const mockStream = new ReadableStream({
12 start(controller) {
13 controller.enqueue(uint8array);
14 controller.close();
15 },
16 });
17 const mockFn = jest.fn();
18 // @ts-ignore

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected