ParentActor 父 Actor,可以创建子 Actor
| 64 | |
| 65 | // ParentActor 父 Actor,可以创建子 Actor |
| 66 | type ParentActor struct { |
| 67 | children []*PID |
| 68 | } |
| 69 | |
| 70 | func (a *ParentActor) Receive(ctx *Context, msg Message) { |
| 71 | switch msg.(type) { |
nothing calls this directly
no outgoing calls
no test coverage detected