Arun Sethia
2016-03-06 00:00:21 UTC
Hi,
can some explain what does it mean of materialized value ? I have see
documentation at
http://doc.akka.io/docs/akka-stream-and-http-experimental/2.0.3/scala/stream-quickstart.html#transforming-and-consuming-simple-streams
I am not sure how Flow can define materialize type, for example the
following code has Input - Tweet, output - Int but Mat is Unit. I would
like to see how someone can define Mat as Int or any example where Flow or
source is defining Mat other than Unit.
- val count: Flow[Tweet, Int, Unit] = Flow[Tweet].map(_ => 1)
It is quite confusing for me to understand difference between "out" and
"Mat".
Thanks
As
--
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.
To post to this group, send email to akka-***@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
can some explain what does it mean of materialized value ? I have see
documentation at
http://doc.akka.io/docs/akka-stream-and-http-experimental/2.0.3/scala/stream-quickstart.html#transforming-and-consuming-simple-streams
I am not sure how Flow can define materialize type, for example the
following code has Input - Tweet, output - Int but Mat is Unit. I would
like to see how someone can define Mat as Int or any example where Flow or
source is defining Mat other than Unit.
- val count: Flow[Tweet, Int, Unit] = Flow[Tweet].map(_ => 1)
It is quite confusing for me to understand difference between "out" and
"Mat".
Thanks
As
--
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
---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.
To post to this group, send email to akka-***@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.