MCPcopy Create free account
hub / github.com/GoogleChrome/samples / transform

Method transform

streams-demo/script.js:22–24  ·  view source on GitHub ↗
(chunk, controller)

Source from the content-addressed store, hash-verified

20 constructor() {
21 return new TransformStream({
22 transform(chunk, controller) {
23 controller.enqueue(chunk.toUpperCase());
24 }
25 });
26 }
27}

Callers 1

createBundleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected