- pipeline<
A extends PipelineSource<any>,
B extends
| WritableStream
| PipelineDestinationIterableFunction<string | Buffer<ArrayBufferLike>>
| PipelineDestinationPromiseFunction<
string
| Buffer<ArrayBufferLike>,
any,
>
| PipelineDestinationIterableFunction<any>
| PipelineDestinationPromiseFunction<any, any>,
>(
source: A,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B> - pipeline<
A extends PipelineSource<any>,
T1 extends PipelineTransform<A, any>,
B extends
| WritableStream
| PipelineDestinationIterableFunction<string | Buffer<ArrayBufferLike>>
| PipelineDestinationPromiseFunction<
string
| Buffer<ArrayBufferLike>,
any,
>
| PipelineDestinationIterableFunction<any>
| PipelineDestinationPromiseFunction<any, any>,
>(
source: A,
transform1: T1,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B> - pipeline<
A extends PipelineSource<any>,
T1 extends PipelineTransform<A, any>,
T2 extends PipelineTransform<T1, any>,
B extends
| WritableStream
| PipelineDestinationIterableFunction<string | Buffer<ArrayBufferLike>>
| PipelineDestinationPromiseFunction<
string
| Buffer<ArrayBufferLike>,
any,
>
| PipelineDestinationIterableFunction<any>
| PipelineDestinationPromiseFunction<any, any>,
>(
source: A,
transform1: T1,
transform2: T2,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B> - pipeline<
A extends PipelineSource<any>,
T1 extends PipelineTransform<A, any>,
T2 extends PipelineTransform<T1, any>,
T3 extends PipelineTransform<T2, any>,
B extends
| WritableStream
| PipelineDestinationIterableFunction<string | Buffer<ArrayBufferLike>>
| PipelineDestinationPromiseFunction<
string
| Buffer<ArrayBufferLike>,
any,
>
| PipelineDestinationIterableFunction<any>
| PipelineDestinationPromiseFunction<any, any>,
>(
source: A,
transform1: T1,
transform2: T2,
transform3: T3,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B> - pipeline<
A extends PipelineSource<any>,
T1 extends PipelineTransform<A, any>,
T2 extends PipelineTransform<T1, any>,
T3 extends PipelineTransform<T2, any>,
T4 extends PipelineTransform<T3, any>,
B extends
| WritableStream
| PipelineDestinationIterableFunction<string | Buffer<ArrayBufferLike>>
| PipelineDestinationPromiseFunction<
string
| Buffer<ArrayBufferLike>,
any,
>
| PipelineDestinationIterableFunction<any>
| PipelineDestinationPromiseFunction<any, any>,
>(
source: A,
transform1: T1,
transform2: T2,
transform3: T3,
transform4: T4,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B> - pipeline(
streams: readonly (ReadableStream | WritableStream | ReadWriteStream)[],
options?: PipelineOptions,
): Promise<void> Returns Promise<void>
- pipeline(
stream1: ReadableStream,
stream2: WritableStream | ReadWriteStream,
...streams: (WritableStream | ReadWriteStream | PipelineOptions)[],
): Promise<void> Returns Promise<void>