it
    Preparing search index...

    Function default

    • Takes an (async) iterable that emits variable length arrays of things and returns an async iterable that emits those things in fixed-size batches

      Type Parameters

      • T

      Parameters

      • source: Iterable<T[]>
      • OptionalbatchSize: number

      Returns Generator<T[], void, undefined>

    • Takes an (async) iterable that emits variable length arrays of things and returns an async iterable that emits those things in fixed-size batches

      Type Parameters

      • T

      Parameters

      • source: Iterable<T[], any, any> | AsyncIterable<T[], any, any>
      • OptionalbatchSize: number

      Returns AsyncGenerator<T[], void, undefined>