Type Alias ToArrayOptions

ToArrayOptions: {
    elapsed: Interval;
    limit: number;
    while: ((count: number) => boolean);
}

Type declaration

  • elapsed: Interval

    If set, toArray continues until this much time elapses.

  • limit: number

    If set toArray continues until reaching this many results

  • while: ((count: number) => boolean)

    If set, toArray continues until this function returns false

      • (count): boolean
      • Parameters

        • count: number

        Returns boolean