flatten method

Stream<E> flatten()

Flattens a Stream of Streams to a flattened Stream.

Implementation

Stream<E> flatten() => asyncExpand<E>((stream) => stream);