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

Function CreateReadableStream

out/cli.cjs:14098–14104  ·  view source on GitHub ↗
(startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1)

Source from the content-addressed store, hash-verified

14096 configurable: true
14097 });
14098 function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) {
14099 const stream4 = Object.create(ReadableStream7.prototype);
14100 InitializeReadableStream(stream4);
14101 const controller = Object.create(ReadableStreamDefaultController2.prototype);
14102 SetUpReadableStreamDefaultController(stream4, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm);
14103 return stream4;
14104 }
14105 function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) {
14106 const stream4 = Object.create(ReadableStream7.prototype);
14107 InitializeReadableStream(stream4);

Callers 4

ReadableStreamDefaultTeeFunction · 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…