edwardwongtl
12/14/2017, 4:01 PMconcatMap
is quite different from concatWith
as concatWith
waits for the first stream to end, then concat with the second stream, while concatMap
transform each item in the first stream then concat them together, think of it as a sequenced version of flatMap