MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / constructor

Method constructor

src/workspaces/replay-buffer.ts:34–36  ·  view source on GitHub ↗
(private readonly maxBytes: number)

Source from the content-addressed store, hash-verified

32 private head = 0;
33
34 constructor(private readonly maxBytes: number) {
35 if (maxBytes <= 0) throw new RangeError('ReplayBuffer maxBytes must be > 0');
36 }
37
38 get headSeq(): number {
39 return this.head;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected