Skip to content

Commit

Permalink
zh-CN:Fix by adding index positions to some titles
Browse files Browse the repository at this point in the history
When users click, 'timers' and 'poll' should index to the suitable position.
  • Loading branch information
ZYSzys authored and Maledong committed Sep 14, 2018
1 parent 32d79f9 commit 9908aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locale/zh-cn/docs/guides/event-loop-timers-and-nexttick.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ _**注意:** 在 Windows 和 Unix/Linux 实现之间存在细微的差异,

## 阶段的详细概述

### 定时器
### <!--timers-->定时器

计时器指定 _可执行所提供回调_**阈值**,而不是用户希望其执行的确切时间。计时器回调将尽可能早地运行,因为它们可以在指定的时间间隔后进行调度。但是,操作系统调度或其它回调的运行可能会延迟它们。

Expand Down Expand Up @@ -105,7 +105,7 @@ someAsyncOperation(() => {

此阶段对某些系统操作(如 TCP 错误类型)执行回调。例如,如果 TCP 套接字在尝试连接时接收到 `ECONNREFUSED`,则某些 \*nix 的系统希望等待报告错误。这将被排队以在 **挂起的回调** 阶段执行。

### 轮询
### <!--poll-->轮询

**轮询** 阶段有两个重要的功能:

Expand Down

0 comments on commit 9908aa9

Please sign in to comment.