@b-jones-rfd/sp-rest-connect - v5.1.1
    Preparing search index...

    Type Alias PagedIterator<TConfig>

    PagedIterator: <T = unknown>(
        options: TConfig,
    ) => AsyncGenerator<PageResult<T>, void, undefined>

    Yields one PageResult per request until SharePoint reports no more pages, maxPages is reached, or a page fails (the failure is yielded, then iteration ends). Never throws.

    Type Parameters

    • TConfig

    Type Declaration

      • <T = unknown>(options: TConfig): AsyncGenerator<PageResult<T>, void, undefined>
      • Type Parameters

        • T = unknown

        Parameters

        Returns AsyncGenerator<PageResult<T>, void, undefined>