Message Actor 消息接口 所有 Actor 间传递的消息都必须实现此接口
| 15 | // Message Actor 消息接口 |
| 16 | // 所有 Actor 间传递的消息都必须实现此接口 |
| 17 | type Message interface { |
| 18 | // Kind 返回消息类型标识,用于路由和监控 |
| 19 | Kind() string |
| 20 | } |
| 21 | |
| 22 | // PID (Process ID) Actor 进程标识符 |
| 23 | // 类似 Erlang 的 PID,是 Actor 的唯一寻址方式 |
no outgoing calls
no test coverage detected