MCPcopy Create free account
hub / github.com/nodejs/node / desiredSize

Function desiredSize

lib/internal/streams/iter/classic.js:551–554  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

549 __proto__: null,
550
551 get desiredSize() {
552 if (!isWritable()) return null;
553 return MathMax(0, hwm - (writable.writableLength ?? 0));
554 },
555
556 writeSync(chunk) {
557 return false;

Callers

nothing calls this directly

Calls 1

isWritableFunction · 0.70

Tested by

no test coverage detected