MCPcopy Create free account
hub / github.com/astercloud/aster / getChildrenPIDs

Method getChildrenPIDs

pkg/actor/system.go:694–700  ·  view source on GitHub ↗

getChildrenPIDs 获取子 Actor PID 列表

(cell *actorCell)

Source from the content-addressed store, hash-verified

692
693// getChildrenPIDs 获取子 Actor PID 列表
694func (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 死信处理器
703func (s *System) deadLetterHandler() {

Callers 1

processMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected