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

Function makeAsyncIterable2

out/cli.cjs:77957–77964  ·  view source on GitHub ↗
(webStream)

Source from the content-addressed store, hash-verified

77955}
77956function makeAsyncDisposable(webStream, dispose) {
77957 var _a5;
77958 (_a5 = Symbol.asyncDispose) !== null && _a5 !== void 0 ? _a5 : Symbol.asyncDispose = Symbol("Symbol.asyncDispose");
77959 if (!webStream[Symbol.asyncDispose]) {
77960 webStream[Symbol.asyncDispose] = () => dispose();
77961 }
77962}
77963function makeAsyncIterable2(webStream) {
77964 if (!webStream[Symbol.asyncIterator]) {
77965 webStream[Symbol.asyncIterator] = () => toAsyncIterable(webStream);
77966 }
77967 if (!webStream.values) {

Callers 2

polyfillStreamFunction · 0.85
ensureAsyncIterableFunction · 0.85

Calls 1

toAsyncIterableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…