doc: consolidate timers docs in timers.markdown
Pull Request check-list
-
Does make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass with this change (including linting)? -
Is the commit message formatted according to [CONTRIBUTING.md][0]? -
If this change fixes a bug (or a performance problem), is a regression test (or a benchmark) included? -
Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
Affected core subsystem(s)
doc
Description of change
- Rather than attempting to keep two versions of docs for timers up to date, keep them in timers.markdown, and leave references to them in globals.markdown.
- Add setImmediate and clearImmediate to globals.markdown.
- Change "To schedule" to "Schedules" in timers.markdown.
This implements my comment in #5830.