A class to provide an iterable API for fetching multiple pages of data, given a Fauna Set

Type Parameters

Implements

  • AsyncGenerator<T[], void, unknown>

Constructors

Methods

  • Constructs a new FlattenedSetIterator from the current instance

    Returns FlattenedSetIterator<T>

    A new FlattenedSetIterator from the current instance

  • Implement AsyncGenerator.next

    Returns Promise<IteratorResult<T[], void>>

  • Implement AsyncGenerator.return

    Returns Promise<IteratorResult<T[], void>>

  • Implement AsyncGenerator.throw

    Parameters

    • e: any

    Returns Promise<IteratorResult<T[], void>>