• Expands (breadth first) the iterable sequence by recursively applying a selector function to generate more sequences at each recursion level.

    Type Parameters

    • TSource

      Source sequence element type.

    Parameters

    • selector: ((value) => Iterable<TSource>)

      Selector function to retrieve the next sequence to expand.

        • (value): Iterable<TSource>
        • Parameters

          • value: TSource

          Returns Iterable<TSource>

    Returns MonoTypeOperatorFunction<TSource>

    An operator which returns a sequence with results from the recursive expansion of the source sequence.

Generated using TypeDoc