Skip to main content
default.prototype.compose - node__stream.d.ts - Node documentation
method default.prototype.compose

Usage in Deno

```typescript import mod from "node:node__stream.d.ts"; ```
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