Skip to content

Commit 9908aa9

Browse files
ZYSzysMaledong
authored and
Maledong
committed
zh-CN:Fix by adding index positions to some titles
When users click, 'timers' and 'poll' should index to the suitable position.
1 parent 32d79f9 commit 9908aa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

locale/zh-cn/docs/guides/event-loop-timers-and-nexttick.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ _**注意:** 在 Windows 和 Unix/Linux 实现之间存在细微的差异,
6060

6161
## 阶段的详细概述
6262

63-
### 定时器
63+
### <!--timers-->定时器
6464

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

@@ -105,7 +105,7 @@ someAsyncOperation(() => {
105105

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

108-
### 轮询
108+
### <!--poll-->轮询
109109

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

0 commit comments

Comments
 (0)