MCPcopy Create free account
hub / github.com/cloudflare/computer / start

Function start

packages/computer/src/tools/ai.test.ts:112–114  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

110 async readFile() {
111 return new ReadableStream<Uint8Array>({
112 start(controller) {
113 controller.enqueue(bytes("abcdefghij"));
114 },
115 cancel() {
116 cancelled = true;
117 },

Callers

nothing calls this directly

Calls 1

bytesFunction · 0.70

Tested by

no test coverage detected