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

Function AcquireReadableStreamAsyncIterator

out/cli.cjs:10993–10999  ·  view source on GitHub ↗
(stream4, preventCancel)

Source from the content-addressed store, hash-verified

10991 };
10992 Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype);
10993 function AcquireReadableStreamAsyncIterator(stream4, preventCancel) {
10994 const reader = AcquireReadableStreamDefaultReader(stream4);
10995 const impl = new ReadableStreamAsyncIteratorImpl(reader, preventCancel);
10996 const iterator2 = Object.create(ReadableStreamAsyncIteratorPrototype);
10997 iterator2._asyncIteratorImpl = impl;
10998 return iterator2;
10999 }
11000 function IsReadableStreamAsyncIterator(x5) {
11001 if (!typeIsObject(x5)) {
11002 return false;

Callers 1

valuesMethod · 0.85

Calls 2

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…