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

Function isReadableAborted

out/cli.cjs:47887–47890  ·  view source on GitHub ↗
(stream5)

Source from the content-addressed store, hash-verified

47885 return !stream5 || !!(stream5.destroyed || stream5[kDestroyed]);
47886 }
47887 function isReadableAborted(stream5) {
47888 const state2 = stream5 && stream5._readableState;
47889 return isDestroyed(stream5) && state2 && !state2.endEmitted;
47890 }
47891 function destroy2(stream5, err) {
47892 if (stream5 == null || !isStream3(stream5) || isDestroyed(stream5)) {
47893 return;

Callers 1

isDisturbedFunction · 0.85

Calls 1

isDestroyedFunction · 0.85

Tested by

no test coverage detected