Israeli Bank Importer - v1.44.5
    Preparing search index...

    Function repeatWhile

    • Yields next() for as long as shouldContinue() returns true. The condition is re-checked after the consumer's loop body has run, so state changed by that body decides whether another step starts.

      Type Parameters

      • TResult

      Parameters

      • shouldContinue: () => boolean

        Returns false to end the sequence.

      • next: () => Promise<TResult>

        Starts one round of async work.

      Returns AsyncIterable<TResult>

      The settled round results, in order.