Hi, There is a flatMap, it is just not called that. There is a flatten() method that takes a strategy, currently the only one being concat: flatten(FlattenStrategy.concat). The reason for that we don't provide a method called flatMap is to avoid it being overused in for comprehensions. In the land of backpressured, bounded memory stream processing flattening is an inherently dangerous operation that can lead to a deadlock.
-Endre On Sat, Feb 7, 2015 at 1:39 AM, <[email protected]> wrote: > Hey, > > the flatMap operator absence is a real pain. I'm actually migrating some > Rx code that is basically full of flatMaps to Akka-streams and it is not > easy to write custom operator that would do it with 2 days worth of > experience. > > Anybody willing to give me some hints or show some code? Thanks, Jakub > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
