Re: [akka-user] How to use Future with in akka-streams

2015-06-04 Thread Martynas Mickevičius
Hi Vladimir, inside of registerUserFlow and resultToStringFlow where you map incoming stream elements use mapAsync instead of map on Flows, so you are not sending futures in your stream pipeline. On Tue, Jun 2, 2015 at 6:13 PM, Владимир Морозов wrote: > Hi all, > > I play with new akka-http and

[akka-user] How to use Future with in akka-streams

2015-06-02 Thread Владимир Морозов
Hi all, I play with new akka-http and streams. I found some example application and try add to it my own logic import akka.actor.ActorSystem import akka.http.scaladsl._ import akka.http.scaladsl.model.ws._ import akka.http.scaladsl.model.{HttpResponse, StatusCodes} import akka.http.scaladsl.serv