ArminWiebigke opened a new issue, #2723:
URL: https://github.com/apache/pekko/issues/2723

   
   `Stream.combine` combined with `MergeLatest` does not work as expected if a 
list with exactly one source is passed to it.
   
   ## Example
   
   `Source.combine(Seq(Source.single(1)))(MergeLatest(_))` emits a single value 
`1`, instead of the expected `List(1)`.
   
   ## Cause
   
   There is a special handling for a list with exactly one source:
   
https://github.com/apache/pekko/blob/66d7dc19464c1e082e759f0595cd8976249b7b00/stream/src/main/scala/org/apache/pekko/stream/scaladsl/Source.scala#L806
   
   This works for something like `Merge`, but not `MergeLatest`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to