pdf-lite - v1.7.3
    Preparing search index...

    A ReadableStream that supports async iteration. Extends the standard ReadableStream with Symbol.asyncIterator support.

    const stream = new IterableReadableStream<Uint8Array>(...)
    for await (const chunk of stream) {
    console.log(chunk)
    }

    Type Parameters

    • T

      The type of chunks yielded by the stream.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    • Type Parameters

      • T

      Parameters

      • underlyingSource: UnderlyingDefaultSource<T>
      • Optionalstrategy: QueuingStrategy<T>

      Returns IterableReadableStream<T>

    • Type Parameters

      • T

      Parameters

      • OptionalunderlyingSource: UnderlyingSource<T>
      • Optionalstrategy: QueuingStrategy<T>

      Returns IterableReadableStream<T>

    Methods

    • Returns an async iterator for the stream.

      Returns {
          "[asyncDispose]"(): Promise<void>;
          "[asyncIterator]"(): { next(): Promise<IteratorResult<T, any>>; [Symbol.asyncIterator](): ...; [Symbol.asyncDispose](): Promise<void>; };
          next(): Promise<IteratorResult<T, any>>;
      }

      An async iterator that yields chunks from the stream.