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/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js
T

4 lines
207 B
JavaScript

import { Readable } from "stream";
export const isStreamingPayload = (request) => request?.body instanceof Readable ||
(typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);