There's an outstanding PR for a FlowMonitor stage that could be used for 
this purpose: https://github.com/akka/akka/pull/19836
You could also wrap a pair of those into a BidiFlow and combine their 
signals (Finished when both directions finish, Failed when a failure is 
signaled in either direction).

Cheers,
Rafał

W dniu piątek, 26 lutego 2016 21:35:51 UTC+1 użytkownik Ramin Alidousti 
napisał:
>
> Hi,
>
> I was wondering if I could register callbacks on a stream lifecycle. What 
> I'm trying to accomplish here is to detect when a stream completes either 
> successfully or with failure and take appropriate action.
>
> Thanks,
> Ramin
>
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to