Home > polyethylene > PolyAsyncIterable > flat
Return an iteration of the yielded elements of the sub-iterables.
Signature:
flat<U>(this: PolyAsyncIterable<Iterable<U> | AsyncIterable<U>>): PolyAsyncIterable<U>;
Parameter | Type | Description |
---|---|---|
this | PolyAsyncIterable<Iterable<U> | AsyncIterable<U>> |
Returns:
PolyAsyncIterable<U>
A new PolyAsyncIterable that will yield the elements of all sub-iterables
This method is an alias of PolyAsyncIterable.flatten().