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

Function ReadableStreamDefaultControllerCanCloseOrEnqueue

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

Source from the content-addressed store, hash-verified

13400 return true;
13401 }
13402 function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) {
13403 const state2 = controller._controlledReadableStream._state;
13404 if (!controller._closeRequested && state2 === "readable") {
13405 return true;
13406 }
13407 return false;
13408 }
13409 function SetUpReadableStreamDefaultController(stream4, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm) {
13410 controller._controlledReadableStream = stream4;
13411 controller._queue = void 0;

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…