it
    Preparing search index...

    Function default

    • Takes an (async) iterable that emits things and returns an async iterable that emits those things in fixed-sized batches

      Type Parameters

      • T

      Parameters

      Returns Generator<T[], void, undefined>

    • Takes an (async) iterable that emits things and returns an async iterable that emits those things in fixed-sized batches

      Type Parameters

      • T

      Parameters

      • source: Iterable<T, any, any> | AsyncIterable<T, any, any>
      • Optionalsize: number

      Returns AsyncGenerator<T[], void, undefined>