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

Function transform

packages/computer/src/exec-wire.ts:95–97  ·  view source on GitHub ↗
(event, controller)

Source from the content-addressed store, hash-verified

93 return events.pipeThrough(
94 new TransformStream<WorkspaceExecEvent<ExecEncoding>, Uint8Array>({
95 transform(event, controller) {
96 controller.enqueue(encodeExecEvent(event));
97 },
98 }),
99 );
100}

Callers

nothing calls this directly

Calls 2

encodeExecEventFunction · 0.85
emitLineFunction · 0.85

Tested by

no test coverage detected