public Task ReceiveAsync(IContext context) { if (context.Message is Started) { Child1 = context.Spawn(_child1Props); Child2 = context.Spawn(_child2Props); } if (context.Message is string) { // only tell one child Child1.Tell(context.Message); } return(Actor.Done); }