Function create

  • Creates a new iterable using the specified function implementing the members of AsyncIterable

    Type Parameters

    • T

      The type of the elements returned by the iterable sequence.

    Parameters

    • getIterator: (() => Iterator<T, any, undefined>)
        • (): Iterator<T, any, undefined>
        • Returns Iterator<T, any, undefined>

    Returns Iterable<T>

    A new iterable instance.

Generated using TypeDoc