Function pipeline

  • promisified pipeline

    Type Parameters

    • A extends PipelineSource<any>

    • B extends WritableStream | PipelineDestinationIterableFunction<any> | PipelineDestinationPromiseFunction<any, any> | PipelineDestinationIterableFunction<string | Buffer> | PipelineDestinationPromiseFunction<string | Buffer, any>

    Parameters

    • source: A
    • destination: B
    • Optional options: PipelineOptions

    Returns PipelinePromise<B>

  • promisified pipeline

    Type Parameters

    • A extends PipelineSource<any>

    • T1 extends PipelineTransform<A, any>

    • B extends WritableStream | PipelineDestinationIterableFunction<any> | PipelineDestinationPromiseFunction<any, any> | PipelineDestinationIterableFunction<string | Buffer> | PipelineDestinationPromiseFunction<string | Buffer, any>

    Parameters

    • source: A
    • transform1: T1
    • destination: B
    • Optional options: PipelineOptions

    Returns PipelinePromise<B>

  • promisified pipeline

    Type Parameters

    • A extends PipelineSource<any>

    • T1 extends PipelineTransform<A, any>

    • T2 extends PipelineTransform<T1, any>

    • B extends WritableStream | PipelineDestinationIterableFunction<any> | PipelineDestinationPromiseFunction<any, any> | PipelineDestinationIterableFunction<string | Buffer> | PipelineDestinationPromiseFunction<string | Buffer, any>

    Parameters

    • source: A
    • transform1: T1
    • transform2: T2
    • destination: B
    • Optional options: PipelineOptions

    Returns PipelinePromise<B>

  • promisified pipeline

    Type Parameters

    • A extends PipelineSource<any>

    • T1 extends PipelineTransform<A, any>

    • T2 extends PipelineTransform<T1, any>

    • T3 extends PipelineTransform<T2, any>

    • B extends WritableStream | PipelineDestinationIterableFunction<any> | PipelineDestinationPromiseFunction<any, any> | PipelineDestinationIterableFunction<string | Buffer> | PipelineDestinationPromiseFunction<string | Buffer, any>

    Parameters

    • source: A
    • transform1: T1
    • transform2: T2
    • transform3: T3
    • destination: B
    • Optional options: PipelineOptions

    Returns PipelinePromise<B>

  • promisified pipeline

    Type Parameters

    • 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<any> | PipelineDestinationPromiseFunction<any, any> | PipelineDestinationIterableFunction<string | Buffer> | PipelineDestinationPromiseFunction<string | Buffer, any>

    Parameters

    • source: A
    • transform1: T1
    • transform2: T2
    • transform3: T3
    • transform4: T4
    • destination: B
    • Optional options: PipelineOptions

    Returns PipelinePromise<B>

  • promisified pipeline

    Parameters

    • streams: readonly (WritableStream | ReadableStream | ReadWriteStream)[]
    • Optional options: PipelineOptions

    Returns Promise<void>

  • promisified pipeline

    Parameters

    • stream1: ReadableStream
    • stream2: WritableStream | ReadWriteStream
    • Rest ...streams: (WritableStream | ReadWriteStream | PipelineOptions)[]

    Returns Promise<void>

Generated using TypeDoc