Re: [akka-user] Re: [akka-streams] Way to convert OutputStreamSink to Flow

2015-06-22 Thread Endre Varga
Actually, there is a way to access the materialized value of a graph in the graph itself, see: http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0-RC3/scala/stream-graphs.html#Accessing_the_materialized_value_inside_the_Graph -Endre On Sun, Jun 21, 2015 at 7:43 PM, Lance Arlaus

[akka-user] Re: [akka-streams] Way to convert OutputStreamSink to Flow

2015-06-21 Thread Lance Arlaus
I think one of the keys here is that the materialized value (the Future[Long] in this case) is not an element, per se, so it won't get streamed inline. In other words, don't expect to do a broadcast/zip to get the materialized values. You'll need to capture the materialized value when the