Thanks, Victor, for asking the right question! Makes sense.

– Kaspar

On Tuesday, 9 February 2016 00:32:50 UTC-8, √ wrote:
>
> If the Sink doesn't report when it is done, how would you know it's done?
>
> On Tue, Feb 9, 2016 at 6:11 AM, hbf <k...@iaeth.ch <javascript:>> wrote:
>
>> Hey Akka Stream'ers,
>>
>> Is there a simple way to await the completion of stream?
>>
>> If I have a source that is not yet connected, I can pipe it throw a 
>> Sink.fold() to materialize it to Future<BoxedUnit>. This allows me to wait 
>> for the stream to complete. But what if I already have a sink and it 
>> doesn't materialize to a future?
>>
>> Thanks!
>> Kaspar
>>
>> -- 
>> >>>>>>>>>> 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.
>>
>
>
>
> -- 
> Cheers,
> √
>

-- 
>>>>>>>>>>      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