NewSystem 创建新的 Actor 系统
(name string)
| 132 | |
| 133 | // NewSystem 创建新的 Actor 系统 |
| 134 | func NewSystem(name string) *System { |
| 135 | return NewSystemWithConfig(name, DefaultSystemConfig()) |
| 136 | } |
| 137 | |
| 138 | // NewSystemWithConfig 使用配置创建 Actor 系统 |
| 139 | func NewSystemWithConfig(name string, config *SystemConfig) *System { |