[akka-user] Re: Source inside Stream

2017-11-21 Thread Julian Howarth
Take a look at `flatMapConcat` which should do exactly what you need. Julian On Tuesday, November 21, 2017 at 11:37:58 AM UTC, Владимир Морозов wrote: > > Hi All! > I again have question about Akka Streams, now I have task like: I have > `Seq[URL]` to files, need download it, process via some st

Re: [akka-user] Re: Source inside Stream

2017-11-22 Thread Brian Maso
You might also want to take a look at mapAsync() instead of map() on the first stage of your flow. I find anything with network I/O in it makes more sense to run through a mapAsync(). Brian Maso On Tue, Nov 21, 2017 at 9:27 AM, Julian Howarth <10.howa...@gmail.com> wrote: > Take a look at `flatM