Skip to content

Commit

Permalink
docs: fix typo (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbinlin authored and popomore committed Mar 13, 2017
1 parent 9eecf7b commit 24ef44f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/zh-cn/basics/schedule.md
Expand Up @@ -163,9 +163,9 @@ module.exports = agent => {
};
```

schedule hander 接受两个个参数:
schedule handler 接受两个个参数:

- `schedule` - 定时任务的属性,disbale 和 immediate 是默认统一支持的,其他配置可以自行解析。
- `schedule` - 定时任务的属性,disable 和 immediate 是默认统一支持的,其他配置可以自行解析。
- `sender` - 发消息通知 worker 执行 task 的方法。
- `sender.one()` - 随机通知一个 worker 执行 task。
- `sender.all()` - 通知所有的 worker 执行 task。

0 comments on commit 24ef44f

Please sign in to comment.