doc: add timer classes
Checklist
-
documentation is changed or added -
the commit message follows commit guidelines
Affected core subsystem(s)
doc
Description of change
The timers returned by setTimeout
and friends are actually instances
of Timeout
and Immediate
. Documenting them as such, so that the
ref
and unref
methods can be identified as methods on Timeout
objects.
Sparked by discussion in #5792 w/ @Fishrock123