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

Method hasPendingEvent

deps/undici/undici.js:16606–16608  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16604 this.event.retry = void 0;
16605 }
16606 hasPendingEvent() {
16607 return this.event.data !== void 0 || this.event.event !== void 0 || this.event.id !== void 0 || this.event.retry !== void 0;
16608 }
16609 hasCurrentByte() {
16610 return this.chunkIndex < this.chunks.length && this.pos < this.chunks[this.chunkIndex].length;
16611 }

Callers 1

_transformMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected