getChildrenPIDs 获取子 Actor PID 列表
(cell *actorCell)
| 692 | |
| 693 | // getChildrenPIDs 获取子 Actor PID 列表 |
| 694 | func (s *System) getChildrenPIDs(cell *actorCell) []*PID { |
| 695 | pids := make([]*PID, 0, len(cell.children)) |
| 696 | for _, pid := range cell.children { |
| 697 | pids = append(pids, pid) |
| 698 | } |
| 699 | return pids |
| 700 | } |
| 701 | |
| 702 | // deadLetterHandler 死信处理器 |
| 703 | func (s *System) deadLetterHandler() { |