Hey,

I have skimmed the documentation you provided and I think this is what I 
was looking for. I will try to understand the whole picture at weekend.

Thank you!


El lunes, 11 de septiembre de 2017, 18:35:35 (UTC+2), Konrad Malawski 
escribió:
>
> Hi there Victor,
> That’s the “materialized value” type parameter: read the docs to learn 
> more about it:
> - 
> http://doc.akka.io/docs/akka/current/scala/stream/stream-flows-and-basics.html#defining-and-running-streams
> - 
> http://doc.akka.io/docs/akka/current/scala/stream/stream-composition.html#materialized-values
>
> Basically it’s a well-typed mechanism for stream elements to expose 
> control or information mechanisms.
> Read also the scaladoc of the operation you just posted, it explains what 
> the value is in this case.
>
> Happy hakking
>
> —
> Konrad `kto.so` Malawski
> Akka <http://akka.io> @ Lightbend <http://lightbend.com>
>
> On 11 September 2017 at 18:33:01, Victor Caballero (vicab...@gmail.com 
> <javascript:>) wrote:
>
> Hello,
>
> I am intrigued by the mechanisms in which errors/exceptions in the Future 
> wrapped by Source.fromFutureSource are handled or if they can even be 
> handled. Also, the type signature of the method is:
>
> def fromFutureSource[T, M](future: Future[Graph[SourceShape[T], M]]): 
> Source[T, Future[M]]
>
> I don't understand the return type: Source[T, Future[M]]. Can anyone 
> explain why is the Future here? What is the use of the second type 
> parameter of Source[T, M]? Which is usually NotUsed?
>
> Thank you!!
>
> --
> >>>>>>>>>> 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 akka-user+...@googlegroups.com <javascript:>.
> To post to this group, send email to akka...@googlegroups.com 
> <javascript:>.
> Visit this group at https://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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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