MCPcopy Create free account
hub / github.com/Effect-TS/effect / tokenLimit

Method tokenLimit

packages/effect/src/encoding/Xml.ts:1502–1504  ·  view source on GitHub ↗
(at: number)

Source from the content-addressed store, hash-verified

1500 }
1501
1502 private tokenLimit(at: number): XmlError {
1503 return this.error("Limit", `token exceeds maxTokenSize of ${this.maxTokenSize}`, at)
1504 }
1505
1506 private consume(chunk: string, force = false): void {
1507 this.received += chunk.length

Callers 4

checkPendingMethod · 0.95
parseMethod · 0.95
addTextMethod · 0.95
checkSizeMethod · 0.95

Calls 1

errorMethod · 0.95

Tested by

no test coverage detected