Documentation
    Preparing search index...

    Function bufferCount

    • Groups chunks together as an array of the specified size. When required to flush, it will queue anything left over.

      Type Parameters

      • T

      Parameters

      • length: number

      Returns TransformStream<T, T[]>

      --a----b------c------d------e--|

      chunks(2)

      -------[a,b]---------[c,d]--[e]-