akka/akka-core

watchWith and failure

Aperta

#26.296 aperta il 28 gen 2019

 (2 commenti) (1 reazione) (0 assegnatari)Scala (3547 fork)batch import
1 - triagedhelp wantednice-to-have (low-prio)t:typed

Metriche repository

Star
 (13.277 stelle)
Metriche merge PR
 (Merge medio 8g 19h) (10 PR mergiate in 30 g)

Descrizione

My understanding is that the new ChildFailed signal will be generated when using watch. However, when using watchWith there is still no ability to discern between normal and abnormal child termination. Given,"The primary purpose of watchWith is to translate the termination signal into the message protocol of the watching actors (without using signals).", watchWith appears to be falling short on this goal.

Related: https://github.com/akka/akka/issues/25803#issuecomment-458111910

Guida contributor