MCPcopy Create free account
hub / github.com/GoogleChromeLabs/ui-element-samples / constructor

Method constructor

stream-progress/stream.js:21–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20class JSONTransformer {
21 constructor() {
22 this.chunks = [];
23 this.depth = 0;
24 this.inString = false;
25 this.skipNext = false;
26 this.decoder = new TextDecoder();
27 }
28
29 start() {}
30 flush() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected