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

Function CreateReadableByteStream

out/cli.cjs:14105–14111  ·  view source on GitHub ↗
(startAlgorithm, pullAlgorithm, cancelAlgorithm)

Source from the content-addressed store, hash-verified

14103 return stream4;
14104 }
14105 function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) {
14106 const stream4 = Object.create(ReadableStream7.prototype);
14107 InitializeReadableStream(stream4);
14108 const controller = Object.create(ReadableByteStreamController2.prototype);
14109 SetUpReadableByteStreamController(stream4, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, 0, void 0);
14110 return stream4;
14111 }
14112 function InitializeReadableStream(stream4) {
14113 stream4._state = "readable";
14114 stream4._reader = void 0;

Callers 1

ReadableByteStreamTeeFunction · 0.85

Calls 3

InitializeReadableStreamFunction · 0.85
createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…