django-vue3-admin-web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js
2025-10-20 21:21:14 +08:00

11 lines
306 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.splitStream = splitStream;
async function splitStream(stream) {
if (typeof stream.stream === "function") {
stream = stream.stream();
}
const readableStream = stream;
return readableStream.tee();
}