Skip to main content
default.prototype.compose - stream - Node documentation
method default.prototype.compose

Usage in Deno

import mod from "node:stream";
default.prototype.compose<T extends ReadableStream>(
stream:
T
| ComposeFnParam
| Iterable<T>
| AsyncIterable<T>
,
options?: { signal: AbortSignal; },
): T

Type Parameters

T extends ReadableStream

Parameters

stream:
T
| ComposeFnParam
| Iterable<T>
| AsyncIterable<T>
optional
options: { signal: AbortSignal; }

Return Type

T