Hello there,

I have `Source[Future[T]]` which I need to transform to `Source[T]` 
somehow. 

Obvious choice would be to use `FlowOps.mapAsync(parallelism)(...)` but the 
problem is -- I'm not quite sure how to determine 'right' `parallelism` 
value -- basically I need mapAsync to produce as many futures, as requested 
by downstream.

Recently I found `FlowOps.flatMapConcat(...)` method, and something along 
the `Flow[Future[T]].flatMapConcat(f => Source.fromFuture(f))` looks very 
similar to mapAsync but without parallelism guessing.

Could anyone tell me is there any significant differences between them?

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to