MCPcopy Create free account
hub / github.com/ethanniser/the-beth-stack / reset

Method reset

packages/beth-stack/src/cache/render.ts:56–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 public reset() {
57 this.dedupeCache = new WeakMap();
58 this.streamController = undefined;
59 this.counter = 1;
60 this.suspenseMap = new Map();
61 this.sentFirstChunk = false;
62 }
63
64 public registerChild(child: Children[]): number {
65 const id = this.counter++;

Callers 3

closeNowMethod · 0.95
renderToStringFunction · 0.80
renderToStreamFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected