spawn 内部创建方法
(actor Actor, name string, parent *PID)
| 189 | |
| 190 | // spawn 内部创建方法 |
| 191 | func (s *System) spawn(actor Actor, name string, parent *PID) *PID { |
| 192 | props := DefaultProps(name) |
| 193 | return s.spawnWithProps(actor, props, parent) |
| 194 | } |
| 195 | |
| 196 | // spawnWithProps 使用属性创建 |
| 197 | func (s *System) spawnWithProps(actor Actor, props *Props, parent *PID) *PID { |
no test coverage detected