Class SplitZipWriter

Represents a Writer instance used to retrieve the written data from a generator of WritableWriter instances (i.e. split zip files).

Use SplitDataWriter instead.

Hierarchy (View Summary)

Constructors

Properties

Methods

Constructors

  • Creates the SplitDataWriter instance

    Parameters

    • writerGenerator: AsyncGenerator<
          WritableStream<any>
          | WritableWriter
          | Writer<unknown>,
          boolean,
          any,
      >

      A generator of Writer instances.

    • OptionalmaxSize: number

      The maximum size of the data written into Writer instances (default: 4GB).

    Returns SplitZipWriter

Properties

writable: WritableStream<any>

The WritableStream instance.

Methods