Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ #rejectPendingWrites
Method
#rejectPendingWrites
lib/internal/streams/iter/push.js:531–535 ·
view source on GitHub ↗
(error)
Source
from the content-addressed store, hash-verified
529
}
530
531
#rejectPendingWrites(error) {
532
while
(this.#pendingWrites.length > 0) {
533
this.#pendingWrites.shift().reject(error);
534
}
535
}
536
537
#cleanup() {
538
if
(this.#signal && this.#abortHandler) {
Callers
4
end
Method · 0.95
fail
Method · 0.95
consumerReturn
Method · 0.95
consumerThrow
Method · 0.95
Calls
2
reject
Method · 0.80
shift
Method · 0.45
Tested by
no test coverage detected