zipLatest
Combines elements from each of multiple sources into tuples and passes the tuples downstream, picking always the latest element of each.
Signature
def zipLatest[U](that: Graph[SourceShape[U], _]): Repr[(Out, U)]
def zipLatestMat[U, Mat2, Mat3](that: Graph[SourceShape[U], Mat2])(matF: (Mat, Mat2) => Mat3): ReprMat[(Out, U), Mat3]
Description
Combines elements from each of multiple sources into tuples and passes the tuples downstream, picking always the latest element of each.
No element is emitted until at least one element from each Source becomes available.
emits when all of the inputs have at least an element available, and then each time an element becomes available on either of the inputs
backpressures when downstream backpressures
completes when any upstream completes
cancels when downstream cancels