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

Function ReadableStreamDefaultControllerError

out/cli.cjs:13377–13385  ·  view source on GitHub ↗
(controller, e3)

Source from the content-addressed store, hash-verified

13375 ReadableStreamDefaultControllerCallPullIfNeeded(controller);
13376 }
13377 function ReadableStreamDefaultControllerError(controller, e3) {
13378 const stream4 = controller._controlledReadableStream;
13379 if (stream4._state !== "readable") {
13380 return;
13381 }
13382 ResetQueue(controller);
13383 ReadableStreamDefaultControllerClearAlgorithms(controller);
13384 ReadableStreamError(stream4, e3);
13385 }
13386 function ReadableStreamDefaultControllerGetDesiredSize(controller) {
13387 const state2 = controller._controlledReadableStream._state;
13388 if (state2 === "errored") {

Calls 3

ResetQueueFunction · 0.85
ReadableStreamErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…