Skip to content

How to restart an linked Actor inside the on_link_died #93

Answered by tqwewe
jBernavaPrah asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jBernavaPrah !

Restarting an actor is as simple as returning None in its Actor::on_panic implementation. By default, actors die when panic, but this behaviour can be overridden by returning None in this method instead

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jBernavaPrah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants