MCPcopy Create free account
hub / github.com/WinterTC55/iter-streams / desiredSize

Method desiredSize

samples/util.ts:98–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 private enc = new TextEncoder();
97
98 get desiredSize(): number | null {
99 return this._closed ? null : 100;
100 }
101
102 write(chunk: Uint8Array | string): boolean {
103 if (this._closed) throw new Error('Writer is closed');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected