• Generates an async-iterable sequence by repeating a source sequence as long as the given loop postcondition holds.

    Type Parameters

    • TSource

      The type of elements in the source sequence.

    Parameters

    • condition: ((signal?) => boolean | Promise<boolean>)

      Loop condition.

        • (signal?): boolean | Promise<boolean>
        • Parameters

          • Optional signal: AbortSignal

          Returns boolean | Promise<boolean>

    Returns MonoTypeOperatorAsyncFunction<TSource>

    An operator that generates an async-iterable by repeating a source sequence while the postcondition holds.

Generated using TypeDoc