MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / start

Function start

packages/core/sdk/src/hosted-http-client.test.ts:1354–1357  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

1352 const hostedFetch = makeHostedFetch({ fetch: underlying, resolveHostname: publicResolver });
1353 const stream = new ReadableStream<Uint8Array>({
1354 start(controller) {
1355 controller.enqueue(new TextEncoder().encode("hello-streamed-body"));
1356 controller.close();
1357 },
1358 });
1359
1360 await expect(

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected