SpawnWithProps 使用属性创建 Actor
(actor Actor, props *Props)
| 184 | |
| 185 | // SpawnWithProps 使用属性创建 Actor |
| 186 | func (s *System) SpawnWithProps(actor Actor, props *Props) *PID { |
| 187 | return s.spawnWithProps(actor, props, nil) |
| 188 | } |
| 189 | |
| 190 | // spawn 内部创建方法 |
| 191 | func (s *System) spawn(actor Actor, name string, parent *PID) *PID { |
nothing calls this directly
no test coverage detected