Type Alias AsyncFlateStreamHandler

AsyncFlateStreamHandler: (
    err: FlateError | null,
    data: Uint8Array,
    final: boolean,
) => void

Handler for asynchronous data (de)compression streams

Type declaration

    • (err: FlateError | null, data: Uint8Array, final: boolean): void
    • Parameters

      • err: FlateError | null

        Any error that occurred

      • data: Uint8Array

        The data output from the stream processor

      • final: boolean

        Whether this is the final block

      Returns void