MCPcopy Create free account
hub / github.com/deepclause/agentvm / pendingDataSize

Method pendingDataSize

src/network.js:290–292  ·  view source on GitHub ↗

* Get the current size of pending data in the TX buffer * @returns {number} Number of bytes waiting to be read

()

Source from the content-addressed store, hash-verified

288 * @returns {number} Number of bytes waiting to be read
289 */
290 pendingDataSize() {
291 return this.txBuffer.length;
292 }
293
294 /**
295 * Close the active socket - send FIN to remote, notify main thread

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected