Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-06-15 00:49:34 +0300
committerRich Trott <rtrott@gmail.com>2020-06-19 18:09:05 +0300
commitd1d412b413d2f8febb1795459ff04c36c9c87f2c (patch)
treefeeb2d25788a98693c3bf23975d163a67827091e /doc/api/timers.md
parent9918bdf5cb07f58d230522244a372cbb1b510956 (diff)
doc: use sentence-case for headings in docs
PR-URL: https://github.com/nodejs/node/pull/33889 Refs: https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings Refs: https://docs.microsoft.com/en-us/style-guide/capitalization Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/timers.md')
-rw-r--r--doc/api/timers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/timers.md b/doc/api/timers.md
index 3dcd1f4e475..cb26e4b16a3 100644
--- a/doc/api/timers.md
+++ b/doc/api/timers.md
@@ -123,7 +123,7 @@ Calling `timeout.unref()` creates an internal timer that will wake the Node.js
event loop. Creating too many of these can adversely impact performance
of the Node.js application.
-## Scheduling Timers
+## Scheduling timers
A timer in Node.js is an internal construct that calls a given function after
a certain period of time. When a timer's function is called varies depending on
@@ -226,7 +226,7 @@ setTimeoutPromise(40, 'foobar').then((value) => {
});
```
-## Cancelling Timers
+## Cancelling timers
The [`setImmediate()`][], [`setInterval()`][], and [`setTimeout()`][] methods
each return objects that represent the scheduled timers. These can be used to