@substrate-system/stream
    Preparing search index...

    Function collect

    • Helper -- collect all values from a stream into an array. This will respect backpressure since we read one chunk at a time.

      Type Parameters

      • T

      Parameters

      • stream: PipeableStream<T, any>

      Returns Promise<T[]>