Skip to content

Commit

Permalink
docs: fix typo in cluster-and-ipc.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbin committed Jun 15, 2017
1 parent b5c8c6a commit 7c18fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/zh-cn/core/cluster-and-ipc.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ if (cluster.isMaster) {
- 在 agent 上调用该方法会发送给 agent 自己
- `agent.messenger.sendRandom(action, data)`:
- app 上没有该方法(现在 Egg 的实现是等同于 sentToAgent)
- agent 上随机发送消息给一个 app 进程(由 master 来控制发送给谁)
- agent 上会随机发送消息给一个 app 进程(由 master 来控制发送给谁)
- `app.messenger.sendTo(pid, action, data)`: 发送给指定进程

```js
Expand Down

0 comments on commit 7c18fa1

Please sign in to comment.