MCPcopy
hub / github.com/di-sukharev/opencommit / readableStreamClose

Function readableStreamClose

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

Source from the content-addressed store, hash-verified

50966 }
50967 var MAXIMUM_ARGUMENT_LENGTH = 65535;
50968 function isomorphicDecode(input) {
50969 if (input.length < MAXIMUM_ARGUMENT_LENGTH) {
50970 return String.fromCharCode(...input);
50971 }
50972 return input.reduce((previous, current) => previous + String.fromCharCode(current), "");
50973 }
50974 function readableStreamClose(controller) {
50975 try {
50976 controller.close();
50977 } catch (err) {
50978 if (!err.message.includes("Controller is already closed")) {
50979 throw err;

Callers 2

pullFunction · 0.85
httpNetworkFetchFunction · 0.85

Calls 2

includesMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…