Skip to main content

__promisify__

function default.pipeline.__promisify__
Jump to heading__promisify__<
A extends PipelineSource<any>,
B extends PipelineDestination<A, any>,
>
(
source: A,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B>
Jump to heading__promisify__<
A extends PipelineSource<any>,
T1 extends PipelineTransform<A, any>,
B extends PipelineDestination<T1, any>,
>
(
source: A,
transform1: T1,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B>
Jump to heading__promisify__<
A extends PipelineSource<any>,
T1 extends PipelineTransform<A, any>,
T2 extends PipelineTransform<T1, any>,
B extends PipelineDestination<T2, any>,
>
(
source: A,
transform1: T1,
transform2: T2,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B>
Jump to heading__promisify__<
A extends PipelineSource<any>,
T1 extends PipelineTransform<A, any>,
T2 extends PipelineTransform<T1, any>,
T3 extends PipelineTransform<T2, any>,
B extends PipelineDestination<T3, any>,
>
(
source: A,
transform1: T1,
transform2: T2,
transform3: T3,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B>
Jump to heading__promisify__<
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 PipelineDestination<T4, any>,
>
(
source: A,
transform1: T1,
transform2: T2,
transform3: T3,
transform4: T4,
destination: B,
options?: PipelineOptions,
): PipelinePromise<B>
Jump to heading__promisify__(
streams: ReadonlyArray<
ReadableStream
| WritableStream
| ReadWriteStream
>
,
options?: PipelineOptions,
): Promise<void>

Parameters Jump to heading

Jump to headingstreams: ReadonlyArray<
ReadableStream
| WritableStream
| ReadWriteStream
>

Return Type Jump to heading

Promise<void>
Jump to heading__promisify__(
stream1: ReadableStream,
stream2: ReadWriteStream | WritableStream,
...streams: Array<
ReadWriteStream
| WritableStream
| PipelineOptions
>
,
): Promise<void>

Parameters Jump to heading

Jump to headingstream1: ReadableStream
Jump to headingstream2: ReadWriteStream | WritableStream
Jump to heading<span>...streams</span>: Array<
ReadWriteStream
| WritableStream
| PipelineOptions
>

Return Type Jump to heading

Promise<void>
Back to top