Hi, the new Source.queue in Akka Stream 2.0-M1 offers an interesting way to imperatively push elements into the stream without loosing backpressure information, but how could the complete signal be sent to the source?
In case of Source.actorRef it is possible by sending a PoisonPill or a Success/Failure message to the materialized actor ref, but when materializing a SourceQueue the only method that is exposed is offer() to push elements into the stream, adding a complete() and/or fail() method could solve the issue, or maybe there is some other way that is not yet documented (or I missed it). Regards, Francesco -- >>>>>>>>>> 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 http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
