MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / ReadableStreamDefaultControllerHasBackpressure

Function ReadableStreamDefaultControllerHasBackpressure

out/cli.cjs:13396–13401  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

13394 return controller._strategyHWM - controller._queueTotalSize;
13395 }
13396 function ReadableStreamDefaultControllerHasBackpressure(controller) {
13397 if (ReadableStreamDefaultControllerShouldCallPull(controller)) {
13398 return false;
13399 }
13400 return true;
13401 }
13402 function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) {
13403 const state2 = controller._controlledReadableStream._state;
13404 if (!controller._closeRequested && state2 === "readable") {

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…