This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js
T

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();
}