Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleChrome/samples
/ transform
Method
transform
transformstream-demo/script.js:7–9 ·
view source on GitHub ↗
(chunk, controller)
Source
from the content-addressed store, hash-verified
5
constructor() {
6
return
new
TransformStream({
7
transform(chunk, controller) {
8
controller.enqueue(chunk.toUpperCase());
9
},
10
});
11
}
12
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected