@drupflare/workforce - v0.3.0
    Preparing search index...

    Function paginate

    • Walks a paginated collection.

      Stops on an empty page even when the envelope claims more, because a server that reports total_count from a stale index otherwise turns a listing into a loop.

      Type Parameters

      • T

      Parameters

      Returns AsyncGenerator<T, void, undefined>