Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PagedAsyncIterableIterator<T, PageT>

Package version

interface

An interface that allows async iterable iteration both to completion and by page.

Type parameters

  • T

  • PageT

Hierarchy

  • PagedAsyncIterableIterator

Index

Properties

Methods

Properties

byPage

byPage: function
member

{Function} [byPage] Return an AsyncIterableIterator that works a page at a time

Type declaration

    • (settings?: PageSettings): AsyncIterableIterator<PageT extends never ? T[] : PageT>
    • Parameters

      Returns AsyncIterableIterator<PageT extends never ? T[] : PageT>

Methods

__@asyncIterator

next

  • next(): Promise<object>

Generated using TypeDoc