flatMapConcat

Transform each input element into a Source whose elements are then flattened into the output stream through concatenation.

Nesting and flattening operators

Signature

def flatMapConcat[T, M](f: Out => Graph[SourceShape[T], M]): Repr[T]

Description

Transform each input element into a Source whose elements are then flattened into the output stream through concatenation. This means each source is fully consumed before consumption of the next source starts.

emits when the current consumed substream has an element available

backpressures when downstream backpressures

completes when upstream completes and all consumed substreams complete

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.