DOC: Fix compilation error in migration guide
This commit is contained in:
parent
157d0caf81
commit
dad91e0a79
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ Instead, use actorSelection followed by identify request, and watch the verified
|
|||
ref = actorRef
|
||||
context watch ref
|
||||
case ActorIdentity(_, None) => // not alive
|
||||
case Terminated(`ref`) => // ...
|
||||
case Terminated(r) if r == ref => // ...
|
||||
}
|
||||
|
||||
Use ``watch`` instead of ``isTerminated``
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue