From 8581e8aa997a2dbb97ccda8b4fd1eef8c638377f Mon Sep 17 00:00:00 2001 From: George Fu Date: Wed, 1 May 2024 16:27:58 -0400 Subject: [PATCH] Update packages/node-http-handler/src/stream-collector/index.ts Co-authored-by: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> --- packages/node-http-handler/src/stream-collector/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node-http-handler/src/stream-collector/index.ts b/packages/node-http-handler/src/stream-collector/index.ts index d7fd6f85df5..a242eea6d41 100644 --- a/packages/node-http-handler/src/stream-collector/index.ts +++ b/packages/node-http-handler/src/stream-collector/index.ts @@ -5,7 +5,7 @@ import { Collector } from "./collector"; export const streamCollector: StreamCollector = (stream: Readable | ReadableStream): Promise => { if (isReadableStreamInstance(stream)) { - // web stream in Node.js indicates user has overridden requestHandler with FetchHttpHandler. + // Web stream API in Node.js return collectReadableStream(stream); } return new Promise((resolve, reject) => {