Doc changes on supervising example on Tutorial guide # 26429
This commit is contained in:
parent
05d59f8370
commit
ff9289a089
1 changed files with 1 additions and 1 deletions
|
|
@ -60,12 +60,12 @@ class StartStopActor2 extends Actor {
|
|||
}
|
||||
//#start-stop
|
||||
|
||||
//#supervise
|
||||
object SupervisingActor {
|
||||
def props: Props =
|
||||
Props(new SupervisingActor)
|
||||
}
|
||||
|
||||
//#supervise
|
||||
class SupervisingActor extends Actor {
|
||||
val child = context.actorOf(SupervisedActor.props, "supervised-actor")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue