• Transforms a stream, ensuring that all errors are forwarded.

    Type Parameters

    • T = unknown

    Parameters

    • source: ReadableStream

      The stream to be transformed.

    • options: AsyncTransformOptions<T> = {}

      The transformation options.

    Returns Guarded<Transform>

    The transformed stream