• Creates a repeatable iterable from a generator.

    Type Parameters

    • T

    Parameters

    • generator: () => Generator<T>

    Returns Iterable<T>