MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / makeAsyncDisposable

Function makeAsyncDisposable

out/cli.cjs:77950–77956  ·  view source on GitHub ↗
(webStream, dispose)

Source from the content-addressed store, hash-verified

77948 const stream4 = iteratorToStream(asyncIter, cancel);
77949 return polyfillStream(stream4, cancel);
77950}
77951function polyfillStream(stream4, dispose) {
77952 makeAsyncIterable2(stream4);
77953 makeAsyncDisposable(stream4, dispose);
77954 return stream4;
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]) {

Callers 1

polyfillStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected